Handle leak when using pthread mutex with win32 api threads
Dmitrii Sernii
bogolt@gmail.com
Sun Mar 6 08:54:00 GMT 2005
>> I've made small corrections in test sample, so now mutex initialised
>> only once, and i've added pthread_mutex_destroy() function call. But
>> the problem still remains.
>> Here is two test applications - one of them uses API threads, and the
>> other pthreads. Program with pthreads don't have any leaks, while
>> program with API threads produces lots of them.
>>
RJ> Are you dynamic or static linking? If you're using the pthreads dll then
RJ> there would seem to be a problem in the library. If you're static
RJ> linking then read on ...
I'm using pthreads dll.
Best regards,
Dmitrii Sernii
More information about the Pthreads-win32
mailing list