This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


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

pthread_cond_timedwait() problem


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


X bitmap

--
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/

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