fix: enable timely delivery of POSIX signals while busy-looping

This commit is contained in:
jellllly420
2024-06-01 16:10:51 +08:00
committed by Tate, Hongliang Tian
parent 5a23de1932
commit e1480f94ee
7 changed files with 83 additions and 43 deletions

View File

@ -0,0 +1,11 @@
// SPDX-License-Identifier: MPL-2.0
#include <unistd.h>
int main()
{
alarm(3);
while (1) {
}
return 0;
}