Threading Issues [fork() & exec() System Calls]

Поділитися
Вставка
  • Опубліковано 17 лис 2024

КОМЕНТАРІ • 27

  • @Uid767
    @Uid767 2 роки тому +26

    Hats off to you man you're saving a lot of college students with your videos!

  • @hoangminhchau2187
    @hoangminhchau2187 Рік тому +4

    For multithreaded system, the mechanism for fork and exec system call changed.
    When a thread calls fork(), it can duplicate that single thread or all the threads of its process.
    When the thread call fork and then call exec immediately after, we should duplicate only that thread because all the threads will be replaced.
    When the thread call fork without having the exec call after, all the threads should be duplicated

  • @pravalikalokini2837
    @pravalikalokini2837 6 місяців тому +2

    Please do the videos on signal handling and implicit threading as early as possible
    Ur videos are very helpful to us

  • @Sai_Kiran2000
    @Sai_Kiran2000 5 років тому +3

    Sir plz upload all the videos as early as possible your videos really help us a lot in understanding the concept in detail

  • @rrraaannndddom
    @rrraaannndddom 2 роки тому +4

    Sir some points has been miss out!
    Eg- multicore programming and threads libraries.
    I really love your content and series of lectures.
    Thank you Neso Academy

  • @kshitijsrivastava6148
    @kshitijsrivastava6148 5 років тому +11

    Sir please upload further videos.So that we can have before GATE 2020

  • @ksvprasad9212
    @ksvprasad9212 5 років тому +10

    Doubt: Whether every thread or single thread got forked, it will not be a matter since EXEC() will replace the entire process according to the definition of EXEC() command.

    • @TechSE7EN
      @TechSE7EN 5 років тому +1

      Yes it will replace the process along with all of it's threads.

    • @janhavipatil4971
      @janhavipatil4971 4 роки тому

      yeah exactly

    • @shubrochakroborty5918
      @shubrochakroborty5918 2 роки тому

      See if you call Fork() then all the thread will get duplicated ,once every thread get duplicated we call exec() then as it find the threads as argument it will jump to the other with same process id.

  • @marcusfortes
    @marcusfortes Місяць тому

    Great class! Thanks!

  • @malavikamanojkumar413
    @malavikamanojkumar413 3 роки тому +1

    Well explained

  • @dhanushsivajaya1356
    @dhanushsivajaya1356 3 роки тому +3

    Thankyou sir

  • @roopchand_3721
    @roopchand_3721 4 роки тому +2

    Sir, if we want the contents of the process at a later stage we need to duplicate all threads, if we fork() a single thread then exec() gets executed then we may lose the contents of the process( which we are ought to duplicate so as to store them) pls explain

  • @farahmohamed2104
    @farahmohamed2104 Рік тому

    well elaborated

  • @saibalaji99
    @saibalaji99 2 роки тому +1

    Why can't fork() duplicate only a single thread in both cases? What is the benefit of duplicating all threads?

  • @45ramavathvinodnaik81
    @45ramavathvinodnaik81 Рік тому

    How can we know whether exec() is called immedieatly after forking or not??

  • @ayushiydvKG
    @ayushiydvKG 5 місяців тому

    thnx a lot

  • @aravindkumaresan2747
    @aravindkumaresan2747 4 роки тому +2

    Sir, what is the font style you have used ?

  • @jhon3991
    @jhon3991 3 місяці тому

    Two versions of fork()? What about linux?

  • @sakinafatima
    @sakinafatima 4 роки тому +2

    thankuuu... so much for such nice videos .🤩

  • @technologykid7041
    @technologykid7041 Рік тому

    amazing

  • @梁廷睿-t5k
    @梁廷睿-t5k 3 роки тому

    great content

  • @nawnwa
    @nawnwa 5 років тому +3

    Good explanation but i couldn't help but think that there is no need to spell E X E C.

  • @This_truly_is_evil_era
    @This_truly_is_evil_era Рік тому +10

    VTU IS THE WORST 👎

  • @samiranroyy1700
    @samiranroyy1700 2 роки тому

    Thanks sir