kernel thread and blocking calls
Please help me in understanding blocking and non-blocking calls.
I have the following doubts regarding kernel threads and blocking/non-blocking calls.
My understanding regarding blocking and non-blocking calls is as follows:
A blocking call is one which does not return from that call till the call is completely run. On the other hand, a non-blocking is one which returns immediately if it needs to block for some resource.
Is this understanding correct? Please correct me if i am wrong.
Is there any limitation that a kernel thread should call only blocking-calls in its execution. If yes, what will be the issue if a non-blocking call is called from a kernel thread.
|