Re: Event::io watcher w/ poll='w' on Solaris
[email protected] ("Allen Smith") Sat, 25 May 2002 17:11:08 -0400
| Newsgroups | perl.loop |
|---|---|
| Message-ID | <[email protected]> |
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 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? 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 Solaris? -Allen -- Allen Smith http://cesario.rutgers.edu/easmith/ September 11, 2001 A Day That Shall Live In Infamy II "They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety." - Benjamin Franklin