delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1997/06/17/17:13:21

From: jordan AT Starbase DOT NeoSoft DOT COM (Jordan Henderson)
Subject: Re: Sergey's latest cygwin.dll and pdksh
17 Jun 1997 17:13:21 -0700 :
Approved: cygnus DOT gnu-win32 AT cygnus DOT com
Distribution: cygnus
Message-ID: <199706171340.IAA15033.cygnus.gnu-win32@Starbase.NeoSoft.COM>
Mime-Version: 1.0
Original-To: gnu-win32 AT cygnus DOT com
In-Reply-To: <01BC7B05.DA103740@gater.krystalbank.msk.ru> from "Sergey Okhapkin" at Jun 17, 97 10:04:29 am
X-Mailer: ELM [version 2.4 PL24]
Original-Sender: owner-gnu-win32 AT cygnus DOT com

> 
> Cygwin.dll blocks the signal while executing signal's handler. If arrived 
> signal is blocked, it will be added to process's sig_pending mask. On exit 
> from any handler all pending signals are raised again. See exceptions.cc 
> for details. Probably, we have to change sig_pending from a bit mask to an 
> array of counters to avoid possible losts of a signals. What do you think 
> about?

I'm no expert in this area, but I always thought that this was a problem with
signals under UNIX.  The problem is that it is possible to lose signals if
more than one of the same type is received while signals are blocked.

Fixing this might be a good idea, but it may cause other problems in porting
UNIX software that depends on this behavior.

> 
> --
> Sergey Okhapkin, http://www.lexa.ru/sos
> Moscow, Russia
> Looking for a job.
> 

-Jordan Henderson
jordan AT neosoft DOT com


-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


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