From cd43f797c473dbb5f6f4031e4abb784719e64c93 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Tue, 18 Apr 2000 07:56:20 +0000 Subject: Update. 2000-04-18 Ulrich Drepper * posix/Makefile (tests): Add tst-getaddrinfo. * posix/tst-getaddrinfo.c: New file. and setresuid from sysdep_routines. --- linuxthreads/internals.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'linuxthreads/internals.h') diff --git a/linuxthreads/internals.h b/linuxthreads/internals.h index c1f4081..079bf2c 100644 --- a/linuxthreads/internals.h +++ b/linuxthreads/internals.h @@ -359,11 +359,14 @@ static inline pthread_descr thread_self (void) /* If MEMORY_BARRIER isn't defined in pt-machine.h, assume the architecture doesn't need a memory barrier instruction (e.g. Intel x86). Some - architectures distinguish between normal/read and write barriers. */ + architectures distinguish between full, read and write barriers. */ #ifndef MEMORY_BARRIER #define MEMORY_BARRIER() #endif +#ifndef READ_MEMORY_BARRIER +#define READ_MEMORY_BARRIER() MEMORY_BARRIER() +#endif #ifndef WRITE_MEMORY_BARRIER #define WRITE_MEMORY_BARRIER() MEMORY_BARRIER() #endif -- cgit v1.1