sk_wait_data
Valdis.Kletnieks at vt.edu
Valdis.Kletnieks at vt.edu
Thu Feb 19 19:04:41 EST 2015
On Thu, 19 Feb 2015 23:45:44 +0100, Grzegorz Dwornicki said:
> How does the kernel know when to "unblock" the process? Function name:
> sk_wait_data and macro name: sk_wait_event tells me that there should
> be some queue checning from time to time...
No need to check the queue from time to time. Just wait - and *when data
arrives*, poke the queue to wake it up (or when the timeout hits).
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 848 bytes
Desc: not available
Url : http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20150219/45d2f60a/attachment.bin
More information about the Kernelnewbies
mailing list