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