Posted on 2005-04-09
i m little bit confused about these terms .
Suppose a process p is waiting for resource ,say x , is in spin lock . we can say that process is in blocking io mode .
And process p , returns immediately and poll for the availability of data using poll() , can be said to be in non blocking io mode .
My doubt :
Suppose process p goes to sleep , after finding that data is not available and wake up when data is availble is said to be in WHICH mode ?
sir ,give me valid reasons