From b164b0f0bff12369fa19118f7b87c18d7871095f Mon Sep 17 00:00:00 2001 From: rpj Date: Fri, 31 Jul 1998 02:21:28 +0000 Subject: (pthread_key_delete): Add FIXME comment. --- tsd.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tsd.c') diff --git a/tsd.c b/tsd.c index 4a83fd9..e573d3d 100644 --- a/tsd.c +++ b/tsd.c @@ -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; } -- cgit v1.2.3