unlocking the recv

Grzegorz Dwornicki gd1100 at gmail.com
Wed Jun 3 06:42:28 EDT 2015


I am wondering with pure theoretical task. Is there a posibility to
unlock the recv function without making the socket nonblocking? Lets
assume that we have our server and client:

server <---network ---> client

Server callend the recv function and waits for the data from client
soo its blocked in wait_queue. The socket is in nonblocking state. Can
this proces/thread be unblocked on demand?

More information about the Kernelnewbies mailing list