mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-01-31 11:37:35 +00:00
2278327eba
This change makes some miracle modifications to the System Five system call support, which lets us have safe, correct, and atomic handling of thread cancellations. It all turned out to be cheaper than anticipated because it wasn't necessary to modify the system call veneers. We were able to encode the cancellability of each system call into the magnums found in libc/sysv/syscalls.sh. Since cancellations are so waq, we are also supporting a lovely Musl Libc mask feature for raising ECANCELED.
2 lines
96 B
ArmAsm
2 lines
96 B
ArmAsm
.include "o/libc/sysv/macros.internal.inc"
|
|
.scall sys_nanosleep,0x9ae85b8f0ffff823,globl,hidden
|