June 3, 2015
4:08 p.m.
-----Original Message----- From: kernelnewbies-bounces@kernelnewbies.org [mailto:kernelnewbies- bounces@kernelnewbies.org] On Behalf Of Grzegorz Dwornicki Sent: Wednesday, June 03, 2015 3:42 AM To: kernelnewbies@kernelnewbies.org Subject: unlocking the recv
Hello
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?
I would think that sending it a signal would work. Jeff Haran