Pthreads-w32 on Win2k+Cygwin env.

Ildar Mulyukov ildar@sendmail.ru
Mon Jun 4 00:27:00 GMT 2001


Hi guys!

The thing is I've tried this pthreads-snap-2000-12-29 on my environment.
I have Win2k localized(russian) + Cygwin crosscompiler (to MinGW).

This pthreads doesn't work for me :-(

Libs are built after I've added -mno-cygwin in makefiles (GNUmakefile).
But test mutex1 fails on pthread_mutex_destroy. Gdb backtrace:

#0  0x00403194 in pthread_getspecific (key=0x0) at tsd.c:325
#1  0x00401d8d in pthread_self () at misc.c:161
#2  0x00401cc3 in pthread_mutex_trylock (mutex=0x247ff38) at mutex.c:686
#3  0x004017f8 in pthread_mutex_destroy (mutex=0x4080b4) at mutex.c:216
#4  0x00401535 in main () at mutex1.c:27

Could anyone explain me this behaviour?
Thank you in advance, Ildar.




More information about the Pthreads-win32 mailing list