diff options
Diffstat (limited to 'src/thread/pthread_create.c')
-rw-r--r-- | src/thread/pthread_create.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/thread/pthread_create.c b/src/thread/pthread_create.c index d829fa26..9b6385f5 100644 --- a/src/thread/pthread_create.c +++ b/src/thread/pthread_create.c @@ -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; |