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!
Quoted 16 lines · Peter Teoh
Read this (classic answer):
http://stackoverflow.com/questions/4093185/whats-the-difference-between-epoll-poll-threadpool
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.htmland the three are explained in depth here:
Quoted 7 lines
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%BA%E5%88%AB/
and comes with a pictorial diagram as u have requested.
Thanks! Very Great!
Quoted 25 lines · horseriver
Quoted 17 lines
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 at kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbiesSignature · 2 lines
Regards, Peter Teoh
Read this (classic answer):
http://stackoverflow.com/questions/4093185/whats-the-difference-between-epoll-poll-threadpool
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%BA%E5%88%AB/
and comes with a pictorial diagram as u have requested.
Quoted 16 lines · horseriver
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 at kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
Signature · 5 lines
Regards, Peter Teoh -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20130111/b44dacbb/attachment.html
hi:
what is the function of a file's poll function ?
thanks!
to wait on a particular event based on the file descriptor.
http://stackoverflow.com/questions/9167752/how-does-the-poll-function-work-in-c
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/
Quoted 7 lines · horseriver
hi:
what is the function of a file's poll function ?
thanks!
Signature · 5 lines
Regards, Peter Teoh -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20130115/7ec365c8/attachment.html