diff options
author | Ulrich Drepper <drepper@redhat.com> | 2002-11-27 07:09:18 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2002-11-27 07:09:18 +0000 |
commit | 117c452c9845cc19e7d947844d09c6b45a3413b7 (patch) | |
tree | 29d99db3d8a78df1d314389f7b6d573abfff6d37 /nptl/pthread_getspecific.c | |
parent | 76a50749f7af5935ba3739e815aa6a16ae4440d1 (diff) | |
download | glibc-117c452c9845cc19e7d947844d09c6b45a3413b7.tar.gz glibc-117c452c9845cc19e7d947844d09c6b45a3413b7.tar.xz glibc-117c452c9845cc19e7d947844d09c6b45a3413b7.zip |
Update.
* sysdeps/i386/tls.h (THREAD_GETMEM_NC): Change interface. It now takes the array member name and the index as parameters. (THREAD_SETMEM_NC): Likewise. * pthread_getspecific.c: Use new THREAD_GETMEM_NC interface. * pthread_setspecific.c: Use new THREAD_GETMEM_NC and THREAD_SETMEM_NC interfaces. * sysdeps/i386/tls.h (THREAD_SETMEM): Use size of member element to decide which code to use. (THREAD_SETMEM_NC): Likewise.
Diffstat (limited to 'nptl/pthread_getspecific.c')
-rw-r--r-- | nptl/pthread_getspecific.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nptl/pthread_getspecific.c b/nptl/pthread_getspecific.c index 9e3b69480a..8b55364e2e 100644 --- a/nptl/pthread_getspecific.c +++ b/nptl/pthread_getspecific.c @@ -45,7 +45,7 @@ __pthread_getspecific (key) for this thread since the second level array is not allocated return NULL, too. */ struct pthread_key_data *level2 = THREAD_GETMEM_NC (THREAD_SELF, - specific[idx1st]); + specific, idx1st); if (level2 == NULL) /* Not allocated, therefore no data. */ return NULL; |