diff options
author | rpj <rpj> | 1998-07-31 02:21:28 +0000 |
---|---|---|
committer | rpj <rpj> | 1998-07-31 02:21:28 +0000 |
commit | b164b0f0bff12369fa19118f7b87c18d7871095f (patch) | |
tree | 1c37da180dba2b1e75f03197fe41595e13aa94ad | |
parent | cc1a70f50a246ad33ecbc8f73d0bbc67ea89f1a7 (diff) |
(pthread_key_delete): Add FIXME comment.
-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; } |