what exactly is "block" mean
I have encountered many "block"s while reading the linux programming book. what does it exactly mean?
for example, i am reading upon how to use waitpid(pid_t, int *, int)
the 3rd int which is a flag could contain WHOHANG, and WUNTRACED
the book says "WHOHANG return immediately if no child has exited - do not block if the status cannot be obtained; return a value of 0, not the PID.
WUNTRACED return immediately if child is blocked"
can anyone explain to me what those "blocked" means here? thanks
|