From 75311719d35dc0c132e46f883beaeb5b3d9eb75a Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Fri, 28 Aug 1998 14:02:28 +0000 Subject: Update. 1998-08-28 13:58 Ulrich Drepper * 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. --- linuxthreads/internals.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'linuxthreads/internals.h') 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 */ -- cgit 1.4.1