diff options
-rw-r--r-- | ChangeLog | 1 | ||||
-rw-r--r-- | tsd.c | 2 |
2 files changed, 3 insertions, 0 deletions
@@ -2,6 +2,7 @@ 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. + (pthread_key_delete): Add FIXME comment. * exit.c (_pthread_vacuum): Add call to _pthread_destructor_pop_all(). @@ -44,5 +44,7 @@ pthread_getspecific(pthread_key_t key) int pthread_key_delete(pthread_key_t key) { + /* FIXME: We must remove any associated destructors here. */ + return (TlsFree(key) == FALSE) ? EINVAL : 0; } |