[WINEALSA] Add Midi IN support (take 3)

Alexandre Julliard julliard at winehq.org
Mon Jan 12 15:29:14 CST 2004


Christian Costa <titan.costa at wanadoo.fr> 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
julliard at winehq.com



More information about the wine-devel mailing list