A signal handler might call sigaction(). We must block all signals, not only our signal, to prevent a race between us and the next signal handler. Use /* comments */ because cpp might expand macros in ! comments though such expansion is probably harmless. The bridge is now shorter by 2 instructions. |
||
|---|---|---|
| .. | ||
| _syscall.s | ||
| build.lua | ||
| sigaction.s | ||
| signal.c | ||