RE: unlocking the recv

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux