if you're looking for example code, some can be found in ilbadm.c (or somewhere in the ilb code ... it's been a while since I wrote it ;-) - at least in the initial code (from 2009), don't know whether it's remained that way.
HTH Michael On Wed, Mar 20, 2013 at 5:38 PM, Robert Mustacchi <[email protected]> wrote: > On 3/20/13 9:28 AM, Raven wrote: > > Hi all > > > > Is there any mechanism like epoll or kqueue in illumos? > > I have found an API known as "Event Completion Framework" > > on Solaris 10. > > But I can find any official documents about it from oracle site. It is a > > little strange to me. > > Anyone familiar with "Event Completion Framework" ? > > Does there exit any better scalable I/O event notification mechanism for > > illumos like epoll does for Linux. > > I would appreciate for any reply? > > > Yes there is, it's called event ports. The manual pages here are a > pretty good starting point. You want port_get(3c), port_create(3c), and > port_associate(3c). > > See http://illumos.org/man/3c/port_create, > http://illumos.org/man/3c/port_associate, and > http://illumos.org/man/3c/port_get, and of course related pages. > > Robert > > > ------------------------------------------- > illumos-discuss > Archives: https://www.listbox.com/member/archive/182180/=now > RSS Feed: > https://www.listbox.com/member/archive/rss/182180/21175681-9f7ae099 > Modify Your Subscription: > https://www.listbox.com/member/?& > Powered by Listbox: http://www.listbox.com > -- Michael Schuster http://recursiveramblings.wordpress.com/ ------------------------------------------- illumos-discuss Archives: https://www.listbox.com/member/archive/182180/=now RSS Feed: https://www.listbox.com/member/archive/rss/182180/21175430-2e6923be Modify Your Subscription: https://www.listbox.com/member/?member_id=21175430&id_secret=21175430-6a77cda4 Powered by Listbox: http://www.listbox.com
