mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 03:17:35 +00:00
LibC+LibPthread: Make sure TLS keys are destroyed after everything else
This ensures that __thread variables can be used when global destructors are being invoked.
This commit is contained in:
parent
6eedb570a2
commit
4075b306f8
3 changed files with 18 additions and 12 deletions
|
@ -146,4 +146,6 @@ int pthread_rwlockattr_setpshared(pthread_rwlockattr_t*, int);
|
|||
|
||||
int pthread_atfork(void (*prepare)(void), void (*parent)(void), void (*child)(void));
|
||||
|
||||
void __pthread_key_destroy_for_current_thread();
|
||||
|
||||
__END_DECLS
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue