mirror of
https://sourceware.org/git/glibc.git
synced 2025-12-24 17:51:17 +03:00
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.
This commit is contained in:
@@ -122,12 +122,12 @@ again:
|
||||
several iterations of the while loop. Some processors (e.g.
|
||||
multiprocessor Alphas) could perform such reordering even though
|
||||
the loads are dependent. */
|
||||
MEMORY_BARRIER();
|
||||
READ_MEMORY_BARRIER();
|
||||
thr = *ptr;
|
||||
}
|
||||
/* Prevent reordering of the load of lock->__status above and
|
||||
thr->p_nextlock below */
|
||||
MEMORY_BARRIER();
|
||||
READ_MEMORY_BARRIER();
|
||||
/* Remove max prio thread from waiting list. */
|
||||
if (maxptr == (pthread_descr *) &lock->__status) {
|
||||
/* If max prio thread is at head, remove it with compare-and-swap
|
||||
|
||||
Reference in New Issue
Block a user