www.delorie.com/archives/browse.cgi | search |
X-Spam-Check-By: | sourceware.org |
Date: | Mon, 23 Jan 2006 12:05:13 -0500 |
From: | Christopher Faylor <cgf-no-personal-reply-please AT cygwin DOT com> |
To: | cygwin AT cygwin DOT com |
Subject: | Re: SIGALRM is ignored in generated code blocks (using mmap) - testcase included |
Message-ID: | <20060123170513.GA30212@trixie.casa.cgf.cx> |
Reply-To: | cygwin AT cygwin DOT com |
References: | <5 DOT 0 DOT 0 DOT 25 DOT 2 DOT 20060123114614 DOT 00c48ca8 AT pop3 DOT demon DOT co DOT uk> <20060123124552 DOT GO5636 AT implementation DOT labri DOT fr> |
Mime-Version: | 1.0 |
In-Reply-To: | <20060123124552.GO5636@implementation.labri.fr> |
User-Agent: | Mutt/1.5.11 |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com> |
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 |
On Mon, Jan 23, 2006 at 01:45:52PM +0100, Samuel Thibault wrote: >Lee Moore, le Mon 23 Jan 2006 12:05:17 +0000, a ?crit : >> I have an application which is creating generated code blocks in memory >> provided by mmap, once the application is running in the generated code >> blocks, it cannot be interrupted by a SIGALRM. > >Mmm, IIRC signals can't be delivered unless you call cygwin functions. If that is actually true, it's a bug. Cygwin should be able to interrupt user code. It doesn't try to interrupt... >Another problem can this this too: >int main(void) { > signal(SIGALRM,handler); > alarm(1); > Sleep(); >} ...a Windows function like Sleep. It should interrupt, e.g., a busy loop in user code, however. cgf -- 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 |