pthread_cond_timedwait() problem
Kern Sibbald
kern@sibbald.com
Wed Aug 15 11:51:00 GMT 2001
Hello,
The attached program seems to work fine on Linux, but
dies with a segmentation fault when compiled with Cygwin
and run on Win98.
To compile on Linux:
cc xxx.c -o xxx -lpthread
Output: each line is printed after a wait of 10 seconds:
Timed out
Second timedwait timed out
To compile on Cygwin:
gcc xxx.c -o xxx.exe
Output:
0 [main] xxx 995963 open_stackdumpfile: Dumping stack trace
to XXX.EXE.stackdump
Segmentation fault (core dumped)
I'm using:
CYGWIN_98-4.10 MINIMATOU 1.3.2(0.39/3/2) 2001-05-20 23:28 i586
unknown
I'm not subscribed to your list, so if you wish to respond, please
include
my email address. Any help making this program work would be
appreciated.
Best regards,
Kern
More information about the Cygwin
mailing list