2 Copyright © 1995-2001, The AROS Development Team. All rights reserved.
5 Desc: i386unix version of Enable()
9 #include <exec/tasks.h>
10 #include <exec/execbase.h>
11 #include <aros/libcall.h>
12 #include <aros/atomic.h>
13 #include <proto/exec.h>
18 extern sigset_t sig_int_mask
; /* mask of sig_t that are ints not traps */
25 AROS_LH0(void, Enable
,
26 struct ExecBase
*, SysBase
, 21, Exec
)
33 AROS_ATOMIC_DEC(SysBase
->IDNestCnt
);
35 if(SysBase
->IDNestCnt
< 0)
37 sigprocmask(SIG_UNBLOCK
, &sig_int_mask
, NULL
);