diff options
author | bje <bje> | 1998-07-25 22:46:32 +0000 |
---|---|---|
committer | bje <bje> | 1998-07-25 22:46:32 +0000 |
commit | 318cf7a90bc90a333061e721cf199ab341babe12 (patch) | |
tree | 95e030449f98b1908dd769da0e47bacdd82475a0 | |
parent | 0dd870caa461a8d91f7ec2365e1d542bc0615fb8 (diff) |
1998-07-26 Ben Elliston <bje@cygnus.com>
* tsd.c (pthread_getspecific): Update comments.
-rw-r--r-- | ChangeLog | 2 | ||||
-rw-r--r-- | tsd.c | 4 |
2 files changed, 2 insertions, 4 deletions
@@ -1,5 +1,7 @@ 1998-07-26 Ben Elliston <bje@cygnus.com> + * tsd.c (pthread_getspecific): Update comments. + * mutex.c (pthread_mutexattr_setpshared): Not supported; remove. (pthread_mutexattr_getpshared): Likewise. @@ -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; } - |