Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
From: "Dave Korn" <dk@artimi.com>
To: <cygwin@cygwin.com>
Subject: RE: signal delivery problem (with pthreads)
Date: Fri, 17 Sep 2004 10:08:31 +0100
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
In-Reply-To: <20040916191456.GB577@tonfa>
Message-ID: <NUTMEGU9T3TGJ2TUSzb0000003f@NUTMEG.CAM.ARTIMI.COM>
X-OriginalArrivalTime: 17 Sep 2004 09:08:31.0187 (UTC) FILETIME=[E6F19A30:01C49C95]

> -----Original Message-----
> From: cygwin-owner On Behalf Of Valery A. Frolov
> Sent: 16 September 2004 20:15

> >> And after while I've got (IMHO) a little test source (attached) to
> >> reproduce the problem.
> > 
> > Can anyone confirm this problem?
> 
> So, after week of silence I can make the decision that this 
> problem has
> been happened only for me (because no one has confirmed it). Anyway,
> many many thanks for all Cygwin's developers for their great job.
> Let source be with you, Cygwin! (c) almost Star Wars. :)
> 
> WBR,
>  Valery


  Ok, here ya go, I guess if you went to the trouble of
http://cygwin.com/acronyms#PPAST 'ing, I can take a couple of minutes to
check it out for you!  :)

dk@mace /test/pthread> gcc -O2 -g -o sb sig_bug.c
dk@mace /test/pthread> ./sb
new thread start
got signal 30
OK, press any key to exit...
got signal 30
got signal 30
select was interrupted 1 times
dk@mace /test/pthread> gcc -O2 -g -o sb sig_bug.c -lpthread
dk@mace /test/pthread> ./sb
new thread start
got signal 30
OK, press any key to exit...
got signal 30
got signal 30
select was interrupted 1 times
dk@mace /test/pthread>

  No SEGV for me.  -lpthread didn't seem necessary.  I'm using a version of
the cygwin1.dll built from CVS sources on 20041407.


    cheers, 
      DaveK
-- 
Can't think of a witty .sigline today....


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

