about summary refs log tree commit diff
path: root/linuxthreads/internals.h
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1998-08-28 14:02:28 +0000
committerUlrich Drepper <drepper@redhat.com>1998-08-28 14:02:28 +0000
commit75311719d35dc0c132e46f883beaeb5b3d9eb75a (patch)
tree364ae797e245ca6942072912a682eaab6756fdd3 /linuxthreads/internals.h
parent997a416551a7d5ceb91978674cb8c70b443329d0 (diff)
downloadglibc-75311719d35dc0c132e46f883beaeb5b3d9eb75a.tar.gz
glibc-75311719d35dc0c132e46f883beaeb5b3d9eb75a.tar.xz
glibc-75311719d35dc0c132e46f883beaeb5b3d9eb75a.zip
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.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/linuxthreads/internals.h b/linuxthreads/internals.h
index d418fe2211..d11cf8471a 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 */