Problem in mutex?

Alexandre Julliard julliard at
Fri Aug 27 13:27:42 CDT 2004

Shachar Shemesh <wine-devel at> writes:

> #define NUMTHREADS 3000
> [...]
>     WaitForMultipleObjects(NUMTHREADS, threads, TRUE, INFINITE);

That's probably not the cause of the deadlock, but you can't wait for
more than 64 objects with WaitForMultipleObjects, so your code won't
wait for the threads to terminate.

Alexandre Julliard
julliard at

More information about the wine-devel mailing list