http://bugs.winehq.org/show_bug.cgi?id=25063
--- Comment #2 from Borut Ražem borut.razem@gmail.com 2010-11-14 16:11:21 CST --- Created an attachment (id=31942) --> (http://bugs.winehq.org/attachment.cgi?id=31942) wine-1.3.7 dlls/msvcrt/process.c patch with lock
Functions msvcrt_add_handle() and msvcrt_get_remove_handle() in the previous patch are not thread safe, so I added a locking mechanism. I (re)used the _POPEN_LOCK, since it seems that it is not used anywhere else.
Borut