On Wed, Aug 04, 2010 at 02:17:04PM +0000, Carlo Marcelo Arenas Belon wrote:
> 
> apr_pollset_create in apr 0.9 used to keep that pointer unchanged (NULL)
> for that case and by looking at the code/behaviour from newer versions
> it would seem that it gets allocated an apr_pollset_t* always, resulting
> on an application bug, where an infinite loop was created while polling
> repeatedly and empty pollset.

after further investigation this resulted to be a wrong assumption on my
part, the pollset pointer inside the opaque apr_pollset_t structure is
indeed NULL in 0.9, but considering that it is opaque anyway, its status
shouldn't matter and therefore this should be instead considered just as
undocumented behaviour then.

Carlo

Reply via email to