1
0
mirror of https://github.com/Interlisp/maiko.git synced 2026-01-17 08:33:48 +00:00

Remove old (NEVER) defs for int_timer_on|off. (#191)

These were replaced by other calls that manage more signals
than just the `SIGVTALRM`.
This commit is contained in:
Bruce Mitchener 2021-01-08 11:55:20 +07:00 committed by GitHub
parent c83741eb06
commit 4e65eb5d9b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -668,46 +668,6 @@ void int_unblock() {
void int_timer_on() { int_unblock(); }
void int_timer_off() { int_block(); }
/************************************************************************/
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/************************************************************************/
#ifdef NEVER
void int_timer_off() {
#ifdef SYSVSIGNALS
sigignore(SIGVTALRM);
#else
struct sigvec tmpv, timeroffv;
timeroffv.sv_handler = SIG_IGN;
timeroffv.sv_mask = timeroffv.sv_flags = 0;
sigvec(SIGVTALRM, &timeroffv, &tmpv);
#endif /* SYSVSIGNALS */
}
void int_timer_on() {
#ifdef SYSVSIGNALS
#ifdef SIGVTALRM
SIGERRCHK(sigset(SIGVTALRM, int_timer_service), "sigset vtalrm");
#endif /* SIGVTALRM */
#else
struct sigvec tmpv;
sigvec(SIGVTALRM, &timerv, &tmpv);
#endif /* SYSVSIGNALS */
}
#endif /* NEVER */
#ifdef FLTINT
/************************************************************************/
/* */