Re: Event::io watcher w/ poll='w' on Solaris

2002-05-26 Thread Clemens Schrimpe
<> Well, there were some recent modifications to this portion of the code to <> solve some bugs, so it's possible that those bugs were covering over this <> problem, if people were using writeable _non-blocking_ sockets. I /am/ using a non-blocking socket, btw. I figured, that there must have be

Re: Event::io watcher w/ poll='w' on Solaris

2002-05-25 Thread Joshua N Pritikin
On Sat, May 25, 2002 at 07:06:53PM -0400, Allen Smith wrote: > > Since the Event::io module is very flexible in regards to what events can > > be "waited" for: Why not introduce another set of conditions, like > > "urgent" ('u') or "out-of-band" ('o') to still provide the functionality > > for tho

Re: Event::io watcher w/ poll='w' on Solaris

2002-05-25 Thread Allen Smith
On May 25, 6:37pm, Clemens Schrimpe wrote: > On Sat, 25 May 2002, Allen Smith wrote: > > > Perhaps because POLLOUT alone doesn't pick up "high-priority data > > writeable" (at least it doesn't on IRIX)? Admittedly, high-priority data > is, <> well, uncommon. Exactly what is the problem on Solar

Re: Event::io watcher w/ poll='w' on Solaris

2002-05-25 Thread Clemens Schrimpe
On Sat, 25 May 2002, Allen Smith wrote: <> On May 25, 6:28am, Clemens Schrimpe wrote: <> > <> > In the "HAS_POLL" version of pe_sys_multiplex() I replaced <> > <> > <> > <> > if (ev->poll & PE_W) bits |= (POLLOUT | POLLWRBAND); <> > <> > with <> > <> > if (ev->poll & PE_W) bits |= PO

Re: Event::io watcher w/ poll='w' on Solaris

2002-05-25 Thread Allen Smith
On May 25, 6:28am, Clemens Schrimpe wrote: > <> > In the "HAS_POLL" version of pe_sys_multiplex() I replaced > <> > > <> > if (ev->poll & PE_W) bits |= (POLLOUT | POLLWRBAND); > <> > with > <> > if (ev->poll & PE_W) bits |= POLLOUT; > <> > > <> > And everything works just the way expected. Now

Re: Event::io watcher w/ poll='w' on Solaris

2002-05-25 Thread Clemens Schrimpe
<> > In the "HAS_POLL" version of pe_sys_multiplex() I replaced <> > <> >if (ev->poll & PE_W) bits |= (POLLOUT | POLLWRBAND); <> > with <> >if (ev->poll & PE_W) bits |= POLLOUT; <> > <> > And everything works just the way expected. Now I guess you didn't put in <> > POLLWRBAND just for the

Re: Event::io watcher w/ poll='w' on Solaris

2002-05-23 Thread Joshua N Pritikin
On Wed, May 22, 2002 at 09:02:36AM +0200, Clemens Schrimpe wrote: > Having had a fresh start this morning I played a bit with your code and > figured it: > > In the "HAS_POLL" version of pe_sys_multiplex() I replaced > > if (ev->poll & PE_W) bits |= (POLLOUT | POLLWRBAND); > with > i