mirror of
https://github.com/fluencelabs/musl
synced 2025-07-04 00:51:59 +00:00
implement flockfile api, rework stdio locking
This commit is contained in:
@ -150,6 +150,7 @@ static void init_threads()
|
||||
{
|
||||
struct sigaction sa = { .sa_flags = SA_SIGINFO | SA_RESTART };
|
||||
libc.lock = __lock;
|
||||
libc.lockfile = __lockfile;
|
||||
libc.cancelpt = cancelpt;
|
||||
libc.rsyscall = rsyscall;
|
||||
sa.sa_sigaction = cancel_handler;
|
||||
|
Reference in New Issue
Block a user