delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/08/16/06:14:37

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-ID: <3B7B9CCE.12D42541@sibbald.com>
Date: Thu, 16 Aug 2001 12:13:35 +0200
From: Kern Sibbald <kern AT sibbald DOT com>
X-Mailer: Mozilla 4.77 [en] (Win98; U)
X-Accept-Language: en
MIME-Version: 1.0
To: Robert Collins <robert DOT collins AT itdomain DOT com DOT au>
CC: cygwin AT cygwin DOT com
Subject: Re: [Fwd: pthread_cond_timedwait() problem]
References: <3B7B75C0 DOT 430C3E25 AT sibbald DOT com> <997950365 DOT 29719 DOT 8 DOT camel AT lifelesswks>

Hello,

The timedwait that is causing me problems is the

   pthread_cond_timedwait();

In the test program, it segment faults immediately.  In the real program,

it seems to survive the first call to pthread_cond_timedwait,
but on the second call, it gets a page fault in cygwin1.dll
(version 1.3.2).

It would be helpful if you could verify whether or not the
program works on your fixed version (time permitting).
If so, I'll apply the changes made to thread.cc to version
of 1.3.2.

Thank you for your help.

Best regards,

Kern

Robert Collins wrote:

> On 16 Aug 2001 09:26:56 +0200, Kern Sibbald wrote:
> > Hello,
> >
> > Please find the program attached.  I apparently made
> > a stupid mistake and added the -c option to the compile:
> >
> >     gcc -c xxx.c -o xxx
> >
> >
> > which is, of course, not correct.  So, I did not actually
> > test it on the new dll -- my mistake.
> >
> > In any case, I cannot use the new dll since my bash which
> > runs in an rxvt with an X simulator immediate crashes.
>
> Ah, well. thats not so good. Still your program doesn't look to
> different to ones I know to work. I've got a queue of cygwin stuff
> building up, I'll try and give this a shot. My suggestion for you for
> now is to identify _which_ timed_wait call is causing you grief.
> Rob
>
> >
> > 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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019