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

[email protected] (Joshua N Pritikin) Fri, 24 May 2002 10:29:13 +0530
Newsgroups perl.loop
Message-ID <[email protected]>
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
> 	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 fun of it, right?
> .. So, what was the initial reason you put it there?

Uh, well, yah, i put it in just for the fun of it.  ;-)

> Can we "officially" get rid of it (at least for Solaris)?

Sure.

Does anyone else have an objection?

Can you submit a patch?

-- 
Victory to the Divine Mother!!         after all,
  http://sahajayoga.org                  http://why-compete.org