Lecture 4: Processes

Поделиться
HTML-код
  • Опубликовано: 30 янв 2025

Комментарии • 40

  • @CarlC9898
    @CarlC9898 2 года назад +5

    Just finished reading the entire operating systems book with the dinosaurs on the cover, and watching these video lectures is helping me memorize and understand the concepts from the book. I appreciate it, thanks

    • @mango-strawberry
      @mango-strawberry Год назад +1

      hi bro how much time did it take you read the book? I was thinking whether I can directly jump to this playlist or not

    • @CarlC9898
      @CarlC9898 Год назад

      @@mango-strawberry hi Aqua, eh I took my time so about a months time

    • @mango-strawberry
      @mango-strawberry Год назад

      @@CarlC9898 i see. Thanks

    • @CarlC9898
      @CarlC9898 Год назад

      @@mango-strawberry you're welcome!

    • @Spyro-kt8gy
      @Spyro-kt8gy 6 месяцев назад

      Can I watch the playlist without reading the book, how effective would that be?

  • @emilyhuang193
    @emilyhuang193 5 лет назад +14

    Thanks for sharing. He's so much better than my instructor.

  • @lisafrankel1740
    @lisafrankel1740 7 лет назад +15

    Thank you for sharing! Amazing resource for studying.

  • @tedthebed7877
    @tedthebed7877 5 лет назад +9

    After reading the textbook, the lecture becomes very straight-forward to understand.

    • @huned786
      @huned786 3 года назад

      which text book did you read ?

    • @coding3438
      @coding3438 2 года назад

      which book

    • @tedthebed7877
      @tedthebed7877 2 года назад +1

      @@coding3438 operating system concepts

    • @tedthebed7877
      @tedthebed7877 2 года назад +1

      @@huned786 operating system concepts

    • @mango-strawberry
      @mango-strawberry Год назад

      @@tedthebed7877 hi bro how much time did it take you read the book? I was thinking whether I can directly jump to this playlist or not

  • @sohansingh2022
    @sohansingh2022 Год назад +1

    Legendary professor.

  • @mac2105
    @mac2105 Год назад +1

    The fork() followed by exec() paradigm seems extremely wasteful, why copy all the data (heap, stack etc.) just to start a completely different program that doesn't need any of that?

  • @s.srinath8974
    @s.srinath8974 7 лет назад +1

    at 46:00 after exec() is run , will the pid of the program loaded be same as the child. If it is will the parent stop execution till the loaded program finishes execution?

  • @garyyourdad3379
    @garyyourdad3379 2 года назад +3

    Θα περάσουμε Ξυλωμένο, που θα πάει?

  • @vibhas4686
    @vibhas4686 6 лет назад +1

    at 5:10 shouldn't th static data segment be below stack??

  • @hectort88
    @hectort88 Год назад

    Great Lecture, Thanks for sharing.

  • @ahmedr283
    @ahmedr283 6 лет назад +1

    while(1){
    fork()
    I get that in first iteration it will print 2 because fork duplicates the process.
    So why in the next iteration are we getting 4 processes? since the while condition while(1) is not met
    its not 1 after the first iteration it's 2 so why is it spitting out 4?

    • @Remted12
      @Remted12 6 лет назад

      You should think of the 1 as just true. if it was while(processes == 1) then that would apply now it just runs forever. and since after the first iteration there are now 2 processes so it duplicates those 2 processes which becomes 4.

    • @chrismetcalf4132
      @chrismetcalf4132 3 года назад

      1 is boolean True.

  • @bolu3307
    @bolu3307 5 лет назад

    At 44:45.
    I guess exec overwrites everyhting in the child PCB EXCEPT the parent process ID, yes?

  • @donkrokodyl
    @donkrokodyl 8 месяцев назад

    W

  • @thdoom81
    @thdoom81 6 лет назад

    seems like a shared buffer and shared memory are the same

  • @atzenkack
    @atzenkack 6 лет назад +9

    can't see the code...

    • @piyushpasari4806
      @piyushpasari4806 4 года назад +3

      refer this lass.cs.umass.edu/~shenoy/courses/fall16/lectures/Lec04.pdf

    • @Mydad-et1el
      @Mydad-et1el 4 года назад

      @@piyushpasari4806 thank you!

  • @nikolahuang1919
    @nikolahuang1919 6 лет назад

    Much better than the lectures in my school! The lecturer stopped saying "you know". Hopefully, he will stop shaking soon :)

  • @martinvera4720
    @martinvera4720 6 лет назад

    k