1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 22:27:35 +00:00

LibC: Move the __pthread_mutex_trylock function to LibC

Let's move this to LibC because the dynamic loader depends
on this function.
This commit is contained in:
Gunnar Beutner 2021-04-24 20:34:50 +02:00 committed by Andreas Kling
parent acd65a5f86
commit 549d9bd3ea
3 changed files with 20 additions and 12 deletions

View file

@ -19,6 +19,7 @@ void __pthread_fork_atfork_register_parent(void (*)(void));
void __pthread_fork_atfork_register_child(void (*)(void));
int __pthread_mutex_lock(pthread_mutex_t*);
int __pthread_mutex_trylock(pthread_mutex_t*);
int __pthread_mutex_unlock(pthread_mutex_t*);
int __pthread_mutex_init(pthread_mutex_t*, const pthread_mutexattr_t*);