From mboxrd@z Thu Jan 1 00:00:00 1970 From: horserivers@gmail.com (horseriver) Date: Sat, 19 Jan 2013 01:36:22 +0800 Subject: How to wake_up the wait_queue of a socket? In-Reply-To: References: <20130114095003.GA16840@debian.localdomain> <3113.1358270710@turing-police.cc.vt.edu> <20130115003604.GA18654@debian.localdomain> Message-ID: <20130118173622.GC2376@debian.localdomain> To: kernelnewbies@lists.kernelnewbies.org List-Id: kernelnewbies.lists.kernelnewbies.org On Fri, Jan 18, 2013 at 10:18:19AM +0800, Peter Teoh wrote: > 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. > Thanks! If there is no event occured on one socket descriptor , will the poll operation on this socket descriptor be blocked ? > > _______________________________________________ > > Kernelnewbies mailing list > > Kernelnewbies at kernelnewbies.org > > http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies > > > > > > -- > Regards, > Peter Teoh