diff options
author | Ulrich Drepper <drepper@redhat.com> | 1998-08-28 14:02:28 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 1998-08-28 14:02:28 +0000 |
commit | 75311719d35dc0c132e46f883beaeb5b3d9eb75a (patch) | |
tree | 364ae797e245ca6942072912a682eaab6756fdd3 /linuxthreads/internals.h | |
parent | 997a416551a7d5ceb91978674cb8c70b443329d0 (diff) | |
download | glibc-75311719d35dc0c132e46f883beaeb5b3d9eb75a.zip glibc-75311719d35dc0c132e46f883beaeb5b3d9eb75a.tar.gz glibc-75311719d35dc0c132e46f883beaeb5b3d9eb75a.tar.bz2 |
Update.
1998-08-28 13:58 Ulrich Drepper <drepper@cygnus.com>
* internals.h: Also define THREAD_GETMEM_NC and THREAD_SETMEM_NC to
access thread data with non-constant offsets.
* specific.c: Use THREAD_GETMEM_NC and THREAD_SETMEM_NC where
necessary.
* sysdeps/i386/useldt.h: Fix typo. Add THREAD_GETMEM_NC and
THREAD_SETMEM_NC definitions.
* sysdeps/sparc/sparc32/pt-machine.h: Define THREAD_GETMEM_NC and
THREAD_SETMEM_NC.
* sysdeps/sparc/sparc64/pt-machine.h: Likewise.
Diffstat (limited to 'linuxthreads/internals.h')
-rw-r--r-- | linuxthreads/internals.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/linuxthreads/internals.h b/linuxthreads/internals.h index d418fe2..d11cf84 100644 --- a/linuxthreads/internals.h +++ b/linuxthreads/internals.h @@ -28,9 +28,15 @@ #ifndef THREAD_GETMEM # define THREAD_GETMEM(descr, member) descr->member #endif +#ifndef THREAD_GETMEM_NC +# define THREAD_GETMEM_NC(descr, member) descr->member +#endif #ifndef THREAD_SETMEM # define THREAD_SETMEM(descr, member, value) descr->member = (value) #endif +#ifndef THREAD_SETMEM_NC +# define THREAD_SETMEM_NC(descr, member, value) descr->member = (value) +#endif /* Arguments passed to thread creation routine */ |