How to wake_up the wait_queue of a socket?
horseriver
horserivers at gmail.com
Fri Jan 18 12:36:22 EST 2013
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
More information about the Kernelnewbies
mailing list