From 318cf7a90bc90a333061e721cf199ab341babe12 Mon Sep 17 00:00:00 2001 From: bje Date: Sat, 25 Jul 1998 22:46:32 +0000 Subject: 1998-07-26 Ben Elliston * tsd.c (pthread_getspecific): Update comments. --- tsd.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'tsd.c') diff --git a/tsd.c b/tsd.c index e17caf2..611ed5f 100644 --- a/tsd.c +++ b/tsd.c @@ -42,9 +42,6 @@ pthread_setspecific(pthread_key_t key, void *value) void * pthread_getspecific(pthread_key_t key) { - /* FIXME: this code assumes that TlsGetValue returns NULL if the key - is not present in the TLS structure. Confirm. */ - return TlsGetValue(key); } @@ -53,4 +50,3 @@ pthread_key_delete(pthread_key_t key) { return (TlsFree(key) == FALSE) ? EINVAL : 0; } - -- cgit v1.2.3