Re: APR::Poll support -- first cut

2004-08-28 Thread Stas Bekman
Ken Simpson wrote: I was thinking, would it be better to make it an APR::Socket method? $socket->poll($c->pool, 1_000_000, APR::POLLIN); looks more intuitive to me. Especially since you've hardcoded the fd type to be socket: fd.desc_type = APR_POLL_SOCKET; That's a really good idea. I'll move i

Re: APR::Poll support -- first cut

2004-08-28 Thread Ken Simpson
> I was thinking, would it be better to make it an APR::Socket method? > > $socket->poll($c->pool, 1_000_000, APR::POLLIN); > > looks more intuitive to me. Especially since you've hardcoded the fd type > to be socket: > fd.desc_type = APR_POLL_SOCKET; That's a really good idea. I'll move it