Also define THREAD_GETMEM_NC and THREAD_SETMEM_NC to access thread
authordrepper <drepper>
Fri, 28 Aug 1998 13:59:31 +0000 (13:59 +0000)
committerdrepper <drepper>
Fri, 28 Aug 1998 13:59:31 +0000 (13:59 +0000)
data with non-constant offsets.

linuxthreads/internals.h

index d418fe2..d11cf84 100644 (file)
 #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 */