apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bill Stoddard <b...@wstoddard.com>
Subject Re: Apr_poll
Date Fri, 16 Jan 2004 15:24:12 GMT
Marco Spinetti wrote:

> Hi all,
> 
> because of my failure using threads in apache 1.3.x with apr (apache 
> mail list tells me that using threads with apache 1.3 isn't possible), I 
> decided to replace threads with apr_poll.
> 
> I don't know much about apr_poll: my purpose was to use threads to 
> execute different connections simultanealy.
> 
> Is it possible using apr_poll?
> 
> Does it execute no blocking IO?
> 
> 
> Thanks for your advice
> 
> 
> --Marco

Apache 1.3 on Unix uses uses blocking network i/o and signals for doing timeouts. It would
be possible to do 
non-blocking network i/o but then you'd have to deal with all the state information (i/o buffers,
et. al.) 
that resides on the call stack.

Bill

Mime
View raw message