what is the difference between poll and epoll ?
hi: I know epoll is event triger model ,but I do not know internel surpport for it . is there some illustration for epoll's frame or internel implementation? thanks!
Read this (classic answer): http://stackoverflow.com/questions/4093185/whats-the-difference-between-epol... and from below: http://stackoverflow.com/questions/4039832/select-vs-poll-vs-epoll Which will bring you to: http://daniel.haxx.se/docs/poll-vs-select.html and http://www.kegel.com/c10k.html and the three are explained in depth here: http://www.makelinux.net/ldd3/chp-6-sect-3 The difference are also explained here: http://www.winddisk.com/2012/03/28/epoll%E4%B8%8Eselectpoll%E7%9A%84%E5%8C%B... and comes with a pictorial diagram as u have requested. On Tue, Jan 8, 2013 at 4:35 AM, horseriver <horserivers@gmail.com> wrote:
hi:
I know epoll is event triger model ,but I do not know internel
surpport for it .
is there some illustration for epoll's frame or internel implementation?
thanks!
_______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
-- Regards, Peter Teoh
On Fri, Jan 11, 2013 at 07:36:04AM +0800, Peter Teoh wrote:
Read this (classic answer):
http://stackoverflow.com/questions/4093185/whats-the-difference-between-epol...
and from below:
http://stackoverflow.com/questions/4039832/select-vs-poll-vs-epoll
Which will bring you to:
http://daniel.haxx.se/docs/poll-vs-select.html and http://www.kegel.com/c10k.html
and the three are explained in depth here:
http://www.makelinux.net/ldd3/chp-6-sect-3
The difference are also explained here:
http://www.winddisk.com/2012/03/28/epoll%E4%B8%8Eselectpoll%E7%9A%84%E5%8C%B...
and comes with a pictorial diagram as u have requested.
Thanks! Very Great!
On Tue, Jan 8, 2013 at 4:35 AM, horseriver <horserivers@gmail.com> wrote:
hi:
I know epoll is event triger model ,but I do not know internel
surpport for it .
is there some illustration for epoll's frame or internel implementation?
thanks!
_______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
-- Regards, Peter Teoh
to wait on a particular event based on the file descriptor. http://stackoverflow.com/questions/9167752/how-does-the-poll-function-work-i... http://linux.die.net/man/3/poll look at the example if u don't understand the man page: http://linux.byexamples.com/archives/133/write-a-function/ and this comes with explanation + example: http://www.linux-mag.com/id/357/ On Mon, Jan 14, 2013 at 4:20 AM, horseriver <horserivers@gmail.com> wrote:
hi:
what is the function of a file's poll function ?
thanks!
-- Regards, Peter Teoh
participants (2)
-
horseriver -
Peter Teoh