delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/09/17/05:11:16

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
From: "Dave Korn" <dk AT artimi DOT com>
To: <cygwin AT cygwin DOT com>
Subject: RE: signal delivery problem (with pthreads)
Date: Fri, 17 Sep 2004 10:08:31 +0100
MIME-Version: 1.0
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 AT mace /test/pthread> gcc -O2 -g -o sb sig_bug.c
dk AT 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 AT mace /test/pthread> gcc -O2 -g -o sb sig_bug.c -lpthread
dk AT 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 AT 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/

- Raw text -


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