diff options
author | Gunnar Beutner <gunnar@beutner.name> | 2021-04-24 20:34:50 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-04-25 10:14:50 +0200 |
commit | 549d9bd3ea4cd63c1e5225f8c463cd2c27a28d2b (patch) | |
tree | 586b1c73046b04f1d2f6f54729e715f95376fd10 /Userland/Libraries/LibC/bits | |
parent | acd65a5f86dd63285a37bcbbbe8b77611501105c (diff) | |
download | serenity-549d9bd3ea4cd63c1e5225f8c463cd2c27a28d2b.zip |
LibC: Move the __pthread_mutex_trylock function to LibC
Let's move this to LibC because the dynamic loader depends
on this function.
Diffstat (limited to 'Userland/Libraries/LibC/bits')
-rw-r--r-- | Userland/Libraries/LibC/bits/pthread_integration.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Userland/Libraries/LibC/bits/pthread_integration.h b/Userland/Libraries/LibC/bits/pthread_integration.h index 4327734379..39af9e4d14 100644 --- a/Userland/Libraries/LibC/bits/pthread_integration.h +++ b/Userland/Libraries/LibC/bits/pthread_integration.h @@ -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*); |