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

[email protected] (Clemens Schrimpe) Sat, 25 May 2002 00:03:55 +0200 (W. Europe Daylight Time)
Newsgroups perl.loop
Message-ID <Pine.WNT.4.44.0205250002040.3268-100000@doppeldenk>
<> > 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.  ;-)

I see!

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

That would be great!

<> Can you submit a patch?

Actually the line above is the only one I changed, i.e., it /is/ the
patch! ;-)

(it's in c/unix.c in the pe_sys_multiplex() of the HAS_POLL variant)

Thanks -

	Clemens