Christian Costa <[EMAIL PROTECTED]> writes:

> +static int npfd;
> +static int pfd_array_size = 0;
> +static struct pollfd *pfd = NULL;

This isn't thread-safe. Why don't you simply allocate the array in the
function and free it when you are done?

-- 
Alexandre Julliard
[EMAIL PROTECTED]

Reply via email to