This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
pthread_cond_timedwait() problem
- To: cygwin at cygwin dot com
- Subject: pthread_cond_timedwait() problem
- From: Kern Sibbald <kern at sibbald dot com>
- Date: Wed, 15 Aug 2001 20:51:36 +0200
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
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/