On Thu, May 04, 2006 at 05:47:06PM -0700, Alan Coopersmith wrote: > Prakash Sangappa wrote: > >- Unlike the 'inotify' interfaces, which uses 'ioctls' to a device, our > > interfaces will be based on the existing Event ports framework. The > >events > > will be delivered to a specified 'Event port'(which is an fd). > > Can this fd be polled via poll/select or will all consumers of this > interface > have to re-write their existing app logic to add another thread that sits in > port_get() all the time and then wakes up the main event loop that uses > poll/select instead?
I believe the idea is more that you convert your pool/select loop into a port_getn() on a single port, which all of your events are set up on. No need for another thread. Cheers, - jonathan -- Jonathan Adams, Solaris Kernel Development _______________________________________________ perf-discuss mailing list perf-discuss@opensolaris.org