This is the mail archive of the pthreads-win32@sources.redhat.com mailing list for the pthreas-win32 project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Pthreads-w32 on Win2k+Cygwin env.


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.



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]