mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-06-26 22:38:30 +00:00
Check for EINTR in poll$nt()
This is a bandaid that lets CTRL-C work in daemons until a better solution for signals on Windows can be implemented.
This commit is contained in:
parent
d8fffd2123
commit
971bc8147f
9 changed files with 58 additions and 12 deletions
|
@ -35,7 +35,7 @@ __sigenter:
|
|||
mov %rsp,%rbp
|
||||
.profilable
|
||||
and $NSIG-1,%edi
|
||||
mov g_sighandrvas(,%rdi,4),%eax
|
||||
mov __sighandrvas(,%rdi,4),%eax
|
||||
cmp $kSigactionMinRva,%eax
|
||||
jl 2f
|
||||
lea _base(%rax),%eax
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue