Thread (5 messages) 5 messages, 3 authors, 2013-01-19

How to wake_up the wait_queue of a socket?

From: Peter Teoh <hidden>
Date: 2013-01-18 02:18:19

Possibly related (same subject, not in this thread)

essentially, when the packet arrive, it will be assigned to the correct
process based on IP address + port matching, and then the corresponding
process's blocked scheduling status will be changed to continue execution,
so that when the scheduler next selection of runnable process will pick him
out for continue execution.   The process will then pick his data up from
the network queue.

hope I have not made any mistake in my logic?

On Tue, Jan 15, 2013 at 8:36 AM, horseriver [off-list ref] wrote:
On Tue, Jan 15, 2013 at 12:25:10PM -0500, Valdis.Kletnieks at vt.edu wrote:
quoted
On Mon, 14 Jan 2013 17:50:03 +0800, horseriver said:
quoted
   When one datagram has reached , How to wake_up the wait_queue of
that socket ?
quoted
Please clarify your question - I'm not sure which of the following you
mean:
quoted
 1) How does the kernel wake up the waiting process when a datagram
 arrives?

  This is my mean !

  Thanks


_______________________________________________
Kernelnewbies mailing list
Kernelnewbies at kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


-- 
Regards,
Peter Teoh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20130118/f7d51275/attachment.html 
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help