Solaris pollset_add weirdness

2011-07-18 Thread Mladen Turk
Hi, Anyone can explain the purpose of add_ring in Solaris port.c and its usage during pollset_add/pollset_wait Current behavior is different from other implementations in such way that adding faulty sockets (e.g. shutdown) to the pollset behaves randomly depending on the state at which

Re: Solaris pollset_add weirdness

2011-07-18 Thread Jeff Trawick
On Mon, Jul 18, 2011 at 8:23 AM, Mladen Turk mt...@apache.org wrote: Hi, Anyone can explain the purpose of add_ring in Solaris port.c and its usage during pollset_add/pollset_wait The purpose seems to be avoiding the wasted port_associate() call when an event is triggered then removed by the