www.delorie.com/archives/browse.cgi | search |
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 |
Message-ID: | <00aa01c50e24$9c2921c0$e6ec6f83@robinson.cam.ac.uk> |
From: | "Max Bowsher" <maxb AT ukf DOT net> |
To: | <cygwin AT cygwin DOT com> |
References: | <030901c50e1d$51a22b30$e6ec6f83 AT robinson DOT cam DOT ac DOT uk> <Pine DOT CYG DOT 4 DOT 58 DOT 0502081437580 DOT 1356 AT fordpc DOT vss DOT fsi DOT com> <002201c50e1f$943c9320$e6ec6f83 AT robinson DOT cam DOT ac DOT uk> <Pine DOT CYG DOT 4 DOT 58 DOT 0502081458380 DOT 1356 AT fordpc DOT vss DOT fsi DOT com> |
Subject: | Re: Problem with alarm() not functioning twice in one program. |
Date: | Tue, 8 Feb 2005 21:24:40 -0000 |
MIME-Version: | 1.0 |
X-Cam-ScannerInfo: | http://www.cam.ac.uk/cs/email/scanner/ |
X-Cam-AntiVirus: | No virus found |
X-Cam-SpamDetails: | Not scanned |
X-IsSubscribed: | yes |
Note-from-DJ: | This may be spam |
Brian Ford wrote: > On Tue, 8 Feb 2005, Max Bowsher wrote: >> Brian Ford wrote: >>> On Tue, 8 Feb 2005, Max Bowsher wrote: >>>> The following program produces the output: >>>> >>>> Begin >>>> Done >>>> Begin >>>> ...and then hangs. >>>> >>>> Can anyone help me understand why? >>>> >>> http://www.cygwin.com/ml/cygwin/2004-10/msg00598.html >> >> Ah, OK. >> >> So are you saying "SIGALRM has been entered, but has not returned, so the >> signal handling code won't try to enter it again" ? > > SIGALRM has been blocked upon entry to the signal handling routine. > Since you long jumped out of it, it's still blocked. > > Did you follow that thread through to the end? No, I assumed you were pointing to a specific message. > Maybe I should have quoted > this instead: > > http://www.cygwin.com/ml/cygwin/2004-10/msg00606.html Very helpful, thanks. Max. -- 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |