diff options
author | rpj <rpj> | 1998-07-31 02:16:34 +0000 |
---|---|---|
committer | rpj <rpj> | 1998-07-31 02:16:34 +0000 |
commit | cc1a70f50a246ad33ecbc8f73d0bbc67ea89f1a7 (patch) | |
tree | c5126bec2ab25c271ce68abd52542e6a7ad2e6ae /exit.c | |
parent | 0bc99fb6243a64c6f9a4d503382e9125adeb85a0 (diff) |
Fri Jul 31 00:05:45 1998 Ross Johnson <rpj@ixobrychus.canberra.edu.au>
* tsd.c (pthread_key_create): Update to properly associate
the destructor routine with the key.
* exit.c (_pthread_vacuum): Add call to
_pthread_destructor_pop_all().
Diffstat (limited to 'exit.c')
-rw-r--r-- | exit.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -16,8 +16,8 @@ _pthread_vacuum(void) _pthread_handler_pop_all(_PTHREAD_CLEANUP_STACK, _PTHREAD_HANDLER_EXECUTE); - _pthread_handler_pop_all(_PTHREAD_DESTRUCTOR_STACK, - _PTHREAD_HANDLER_EXECUTE); + /* Run all TSD key destructors. */ + _pthread_destructor_pop_all(); /* Pop any atfork handlers without executing them. */ _pthread_handler_pop_all(_PTHREAD_FORKPREPARE_STACK, |