🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.unix.internals
Article #2574

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

#2574
From: Scott R. Presnell%Cohen
Date: Tue, 25 Jun 1991 23:30
28 lines
1657 bytes
tom@flood.com (Tom Chatt) writes:

>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?

Nu uh.  Nor can I do anything about restarting system calls after the
signal handler returns :-( wish I could, or alternatively, shoot the bozos
who write code that depends on this functionality).  And watch out for
possible semantic differences in "handling" SIGCLD and SIGCHLD (check your
man pages.)

"quick hack" means exactly that.  It works - most of the time - for most
purposes (in my experience)

	- Scott
--
Scott Presnell				        +1 (415) 476-9890
Pharm. Chem., S-926				Internet: srp@cgl.ucsf.edu
University of California			UUCP: ...ucbvax!ucsfcgl!srp
San Francisco, CA. 94143-0446			Bitnet: srp@ucsfcgl.bitnet
Technical Details
Message-ID: <srp.677892627@babar.mmwb.ucsf.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!ucbvax!ucsfcgl!babar.mmwb.ucsf.edu!srp
References: <1991Jun21.225851.24990@uokmax.ecn.uoknor.edu> <srp.677620585@babar.mmwb.ucsf.edu> <1991Jun25.165700.17625@flood.com>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!ucbvax!ucsfcgl!babar.mmwb.ucsf.edu!srp
From: srp@babar.mmwb.ucsf.edu (Scott R. Presnell%Cohen)
Newsgroups: comp.unix.internals
Subject: Re: sigblock,sigmask,sigsetmask ... for SYS V?
Message-ID: <srp.677892627@babar.mmwb.ucsf.edu>
Date: 25 Jun 91 23:30:27 GMT
References: <1991Jun21.225851.24990@uokmax.ecn.uoknor.edu> <srp.677620585@babar.mmwb.ucsf.edu> <1991Jun25.165700.17625@flood.com>
Sender: daemon@cgl.ucsf.edu
Lines: 28