"usleep" routine in HP's
Ademola Taiwo
adtaiwo at athena.mit.edu
Mon May 8 16:38:50 AEST 1989
In article <17358 at mimsy.UUCP> chris at mimsy.UUCP (Chris Torek) writes:
>In article <11166 at bloom-beacon.MIT.EDU> adtaiwo at athena.mit.edu
>(Ademola Taiwo) writes:
>>Okay guys, How does one implement select, sigrelse, sigpause and
>>sighold with signals.
>
>If you have neither a 4.1-style `jobs library' nor 4.2-style signals,
>you cannot implement sighold, sigpause, and sigrelse reliably.
>
>You cannot reliably implement select with anything other than poll().
>--
>In-Real-Life: Chris Torek, Univ of MD Comp Sci Dept (+1 301 454 7163)
>Domain: chris at mimsy.umd.edu Path: uunet!mimsy!chris
Wait! That is not true. Emacs has implemented select, but only for
read fds. There is ecsh, I believe it is the early CSH, correct me if
I am wrong, but has Bill Joy written all over it. They implemented
sigrelse, sigset and sigignore. The trick was to keep an array of all
the available signals and later full around with them.
You ma ask what else do I want? sigsetmask. This is the missing link
in my search for the 4.2 compat signals library. I can always use the
signal facility provided with GNUemacs and not the "standard" library
that came with my C compiler.
Thanks again.
More information about the Comp.unix.wizards
mailing list