mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 04:07:45 +00:00
LibC+LibPthread: Add PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP
This is a common but non-standard way of initializing a pthread_mutex_t in recursive mode.
This commit is contained in:
parent
908f86b061
commit
90e5fd5b53
2 changed files with 6 additions and 0 deletions
|
@ -42,4 +42,9 @@ void __pthread_key_destroy_for_current_thread();
|
|||
0, 0, 0, __PTHREAD_MUTEX_NORMAL \
|
||||
}
|
||||
|
||||
#define __PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP \
|
||||
{ \
|
||||
0, 0, 0, __PTHREAD_MUTEX_RECURSIVE \
|
||||
}
|
||||
|
||||
__END_DECLS
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue