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/21175430-2e6923be Modify Your Subscription: https://www.listbox.com/member/?member_id=21175430&id_secret=21175430-6a77cda4 Powered by Listbox: http://www.listbox.com
