What is meant by “blocking system call”?

后端 未结 3 1106
说谎
说谎 2021-02-01 17:18

What is the meaning of \"blocking system call\"?

In my operating systems course, we are studying multithreaded programming. I\'m unsure what is meant when I read in my t

3条回答
  •  花落未央
    2021-02-01 17:37

    I would suggest having a read on this very short text: http://files.mkgnu.net/files/upstare/UPSTARE_RELEASE_0-12-8/manual/html-multi/x755.html In particular you can read there why blocking system calls can be a worry with threads, not just with concurrent processes:

    This is particularly problematic for multi-threaded applications since one thread blocking on a system call may indefinitely delay the update of the code of another thread.

    Hope it helps.

提交回复
热议问题