>-----Original Message----- >From: [email protected] [mailto:kernelnewbies- >[email protected]] On Behalf Of Grzegorz Dwornicki >Sent: Wednesday, June 03, 2015 3:42 AM >To: [email protected] >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 _______________________________________________ Kernelnewbies mailing list [email protected] http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
