unlocking the recv

Jeff Haran Jeff.Haran at citrix.com
Wed Jun 3 12:08:48 EDT 2015

>-----Original Message-----
>From: kernelnewbies-bounces at kernelnewbies.org [mailto:kernelnewbies-
>bounces at kernelnewbies.org] On Behalf Of Grzegorz Dwornicki
>Sent: Wednesday, June 03, 2015 3:42 AM
>To: kernelnewbies at kernelnewbies.org
>Subject: unlocking the recv
>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

More information about the Kernelnewbies mailing list