mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-05-28 00:02:28 +00:00
Make futexes cancellable by pthreads
This commit is contained in:
parent
2278327eba
commit
022536cab6
101 changed files with 627 additions and 391 deletions
|
@ -194,7 +194,7 @@ TEST(sigaction, autoZombieSlayer) {
|
|||
if (!pid) _Exit(0);
|
||||
ASSERT_SYS(0, pid, wait(0));
|
||||
// enable automatic zombie slayer
|
||||
sa.sa_handler = SIG_IGN;
|
||||
sa.sa_handler = SIG_DFL; // POSIX.1 says no SIG_IGN
|
||||
sa.sa_flags = SA_NOCLDWAIT; // seems to be optional
|
||||
sigemptyset(&sa.sa_mask);
|
||||
ASSERT_SYS(0, 0, sigaction(SIGCHLD, &sa, &sa));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue