kernelnewbies.kernelnewbies.org archive mirror
 help / color / mirror / Atom feed
* what is the difference between poll and epoll ?
@ 2013-01-07 20:35 horseriver
  2013-01-10 23:36 ` Peter Teoh
  0 siblings, 1 reply; 5+ messages in thread
From: horseriver @ 2013-01-07 20:35 UTC (permalink / raw)
  To: kernelnewbies

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!

^ permalink raw reply	[flat|nested] 5+ messages in thread

* what is the difference between poll and epoll ?
  2013-01-10 23:36 ` Peter Teoh
@ 2013-01-10 22:08   ` horseriver
  2013-01-13 20:20   ` horseriver
  1 sibling, 0 replies; 5+ messages in thread
From: horseriver @ 2013-01-10 22:08 UTC (permalink / raw)
  To: kernelnewbies

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-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.

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 at kernelnewbies.org
> > http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
> >
> 
> 
> 
> -- 
> Regards,
> Peter Teoh

^ permalink raw reply	[flat|nested] 5+ messages in thread

* what is the difference between poll and epoll ?
  2013-01-07 20:35 what is the difference between poll and epoll ? horseriver
@ 2013-01-10 23:36 ` Peter Teoh
  2013-01-10 22:08   ` horseriver
  2013-01-13 20:20   ` horseriver
  0 siblings, 2 replies; 5+ messages in thread
From: Peter Teoh @ 2013-01-10 23:36 UTC (permalink / raw)
  To: kernelnewbies

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.

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 at kernelnewbies.org
> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>



-- 
Regards,
Peter Teoh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20130111/b44dacbb/attachment.html 

^ permalink raw reply	[flat|nested] 5+ messages in thread

* what is the difference between poll and epoll ?
  2013-01-10 23:36 ` Peter Teoh
  2013-01-10 22:08   ` horseriver
@ 2013-01-13 20:20   ` horseriver
  2013-01-15  3:57     ` Peter Teoh
  1 sibling, 1 reply; 5+ messages in thread
From: horseriver @ 2013-01-13 20:20 UTC (permalink / raw)
  To: kernelnewbies

hi:

  what is the function of a file's poll function ?
 

thanks! 

^ permalink raw reply	[flat|nested] 5+ messages in thread

* what is the difference between poll and epoll ?
  2013-01-13 20:20   ` horseriver
@ 2013-01-15  3:57     ` Peter Teoh
  0 siblings, 0 replies; 5+ messages in thread
From: Peter Teoh @ 2013-01-15  3:57 UTC (permalink / raw)
  To: kernelnewbies

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/


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20130115/7ec365c8/attachment.html 

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2013-01-15  3:57 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-07 20:35 what is the difference between poll and epoll ? horseriver
2013-01-10 23:36 ` Peter Teoh
2013-01-10 22:08   ` horseriver
2013-01-13 20:20   ` horseriver
2013-01-15  3:57     ` Peter Teoh

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).