www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/01/10/07:09:11

X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-bounces using -f
Message-ID: <20020110120828.7048.qmail@web9107.mail.yahoo.com>
Date: Thu, 10 Jan 2002 04:08:28 -0800 (PST)
From: ROLAND <roland_asmann AT yahoo DOT com>
Subject: Re: Problem with alarm & signal
To: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
Cc: djgpp AT delorie DOT com
In-Reply-To: <3405-Thu10Jan2002124131+0200-eliz@is.elta.co.il>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

--- Eli Zaretskii <eliz AT is DOT elta DOT co DOT il> wrote:
> `alarm' hooks the timer interrupt, so it sounds like
> PMCOM's interrupt
> handler is not signal-safe or perhaps the
> implementation of `alarm'
> is not safe when other hardware interrupts are
> present.

Is this something I need to worry about and perhaps
try to change? Or can I work my way around this and
just ignore it?

> Does the Windows message cite any address, and if it
> does, can you
> see (e.g., with a debugger) where in the code is
> that address?

It does, but the debugger part is still something I'm
working on...

> Alternatively, you could avoid using `alarm'.  What
> do you use it for
> in that program?

I'm not sure about this, I didn't write the program.
I'm trying to get in touch with the person who has
written it, but this can take quite a while. I think
I'm going to investigate this on my own...
Anyway, if I leave 'alarm' out of my code, the program
runs, but crashes on CTRL-C, but if 'alarm' is still
in there, the program crashes while running.


__________________________________________________
Do You Yahoo!?
Send FREE video emails in Yahoo! Mail!
http://promo.yahoo.com/videomail/

- Raw text -


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