🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.unix.internals
Article #2572

Re: sigblock,sigmask,sigsetmask ... for SYS V?

#2572
From: Tom Chatt
Date: Tue, 25 Jun 1991 16:57
17 lines
1384 bytes
srp@babar.mmwb.ucsf.edu (Scott R. Presnell%Cohen) writes:
> hpn@regentdb.osrhe.uoknor.edu (Huy Nguyen / (405) 721-3798) writes:
> 
> > Does anyone know of a library package, hacks, etc to emulate these BSD
> > signal routines for SYS V?  
> 
> I've used the following in the past as a quick hack...
>  [ code snippets emulating sigblock, sigsetmask enclosed ]

Yes, but the important question is: can you emulate sigpause?
The sigpause(2) call, which *atomically* waits for signals on
a provided signal mask, is essential to properly avoid the
critical races otherwise inherent in managing signals.
-- 
Tom Chatt                        \   Don't take offense, take action.
Internet: tom@flood.com           \    Speak up. When we remain silent,
UUCP: ...!uunet!flood!tom        / \     we oppress ourselves.
Technical Details
Message-ID: <1991Jun25.165700.17625@flood.com>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!sdd.hp.com!spool.mu.edu!uunet!flood!tom
References: <1991Jun21.225851.24990@uokmax.ecn.uoknor.edu> <srp.677620585@babar.mmwb.ucsf.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!sdd.hp.com!spool.mu.edu!uunet!flood!tom
From: tom@flood.com (Tom Chatt)
Newsgroups: comp.unix.internals
Subject: Re: sigblock,sigmask,sigsetmask ... for SYS V?
Message-ID: <1991Jun25.165700.17625@flood.com>
Date: 25 Jun 91 16:57:00 GMT
Article-I.D.: flood.1991Jun25.165700.17625
References: <1991Jun21.225851.24990@uokmax.ecn.uoknor.edu> <srp.677620585@babar.mmwb.ucsf.edu>
Sender: root@flood.com (Operator)
Organization: The Flood Group, Inc.  Lawndale, Ca.
Lines: 17