Re: Bug in signalmodule.c + FIX (probably a hack :-)

Dave Brennan (brennan@hal.com)
16 Sep 1994 20:10:56 GMT

>>>>> "Guido" == Guido van Rossum <Guido.van.Rossum@cwi.nl> writes:

Guido> Hmm, I'm still awfully afraid of using the POSIX signal
Guido> interfaces. E.g. the SGI IRIX 5 man page for signals warns:

Guido> The POSIX signal routines (sigaction(2), sigpending(2),
Guido> sigprocmask(2), sigsuspend(2), sigsetjmp(3)), and the 4.3BSD
Guido> signal routines (sigvec(3B), signal(3B), sigblock(3B),
Guido> sigpause(3B), sigsetmask(3B)) must NEVER be used with
Guido> signal(2) or sigset(2).

Well, it is possible to simulate the BSD signal routines using the
POSIX ones. That's what I would suggest doing. That's what I did
when porting GNU Emacs to the DG AViiON. If you have Emacs source
code lying around take a look in src/sysdep.c.

-- 
Dave Brennan                         HaL Computer Systems, Austin, TX, USA
brennan@hal.com                      http://www.hal.com/~brennan