From: Tor L. <tm...@ik...> - 2008-02-21 16:53:41
|
> I want to use pthreads for my program. > it crashes on using the first pthread_create Presumably you are using the pthreads-win32 software from http://sourceware.org/pthreads-win32/ ? What version? Your program runs fine for me when built against pthreads-win32 2.7.0. I linked against the GC2 variant of the library. As you don't mention pthreads-win32, and say you link with -lpthread,(and not -lpthreadGC2 or -lpthreadGCE2) I get a sneaking suspicion you might be mixing in Cygwin's libpthread.a? --tml |