What I am looking for is: what system calls can potentially block the execution of a thread on the CPU: a simple example is the sleep() system call. Other easy examples I can think of: read() and write(), if the option O_NONBLOCK is not selected, also when doing socket accept(), etc... -Thanks !
|