aboutsummaryrefslogtreecommitdiff
path: root/linuxthreads/internals.h
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-04-18 07:56:20 +0000
committerUlrich Drepper <drepper@redhat.com>2000-04-18 07:56:20 +0000
commitcd43f797c473dbb5f6f4031e4abb784719e64c93 (patch)
tree3a32b3a0aefa3ee4f6525d42052b567d649e48aa /linuxthreads/internals.h
parentdbacafe52e30710b5ec8707f60c531e6aeb857ed (diff)
downloadglibc-cd43f797c473dbb5f6f4031e4abb784719e64c93.tar
glibc-cd43f797c473dbb5f6f4031e4abb784719e64c93.tar.gz
glibc-cd43f797c473dbb5f6f4031e4abb784719e64c93.tar.bz2
glibc-cd43f797c473dbb5f6f4031e4abb784719e64c93.zip
Update.
2000-04-18 Ulrich Drepper <drepper@redhat.com> * posix/Makefile (tests): Add tst-getaddrinfo. * posix/tst-getaddrinfo.c: New file. and setresuid from sysdep_routines.
Diffstat (limited to 'linuxthreads/internals.h')
-rw-r--r--linuxthreads/internals.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/linuxthreads/internals.h b/linuxthreads/internals.h
index c1f4081c7b..079bf2cd64 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