From mboxrd@z Thu Jan 1 00:00:00 1970 From: horserivers@gmail.com (horseriver) Date: Tue, 15 Jan 2013 08:36:04 +0800 Subject: How to wake_up the wait_queue of a socket? In-Reply-To: <3113.1358270710@turing-police.cc.vt.edu> References: <20130114095003.GA16840@debian.localdomain> <3113.1358270710@turing-police.cc.vt.edu> Message-ID: <20130115003604.GA18654@debian.localdomain> To: kernelnewbies@lists.kernelnewbies.org List-Id: kernelnewbies.lists.kernelnewbies.org On Tue, Jan 15, 2013 at 12:25:10PM -0500, Valdis.Kletnieks at vt.edu wrote: > On Mon, 14 Jan 2013 17:50:03 +0800, horseriver said: > > > When one datagram has reached , How to wake_up the wait_queue of that socket ? > > Please clarify your question - I'm not sure which of the following you mean: > 1) How does the kernel wake up the waiting process when a datagram arrives? This is my mean ! Thanks