From: horserivers@gmail.com (horseriver)
To: kernelnewbies@lists.kernelnewbies.org
Subject: How to wake_up the wait_queue of a socket?
Date: Sat, 19 Jan 2013 01:36:22 +0800 [thread overview]
Message-ID: <20130118173622.GC2376@debian.localdomain> (raw)
In-Reply-To: <CAHnt0GUgyPNVDA6Mt7uijM2ai_ZF_qC8vYHJsHLoaW18ucdDTw@mail.gmail.com>
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
next prev parent reply other threads:[~2013-01-18 17:36 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-01-14 9:50 How to wake_up the wait_queue of a socket? horseriver
2013-01-15 17:25 ` Valdis.Kletnieks at vt.edu
2013-01-15 0:36 ` horseriver
2013-01-18 2:18 ` Peter Teoh
2013-01-18 17:36 ` horseriver [this message]
2013-01-19 5:18 ` Peter Teoh
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20130118173622.GC2376@debian.localdomain \
--to=horserivers@gmail.com \
--cc=kernelnewbies@lists.kernelnewbies.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).