aboutsummaryrefslogtreecommitdiff
path: root/linuxthreads/spinlock.c
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2001-01-28 16:39:07 +0000
committerAndreas Jaeger <aj@suse.de>2001-01-28 16:39:07 +0000
commit7dcc4ea070f087abcb1915d1976f30915e6606ad (patch)
tree617202d87b629d7098c1ac4a17c541ee74fffd39 /linuxthreads/spinlock.c
parent48ba4bd227be1457f015421efec6dc57bc014a6a (diff)
downloadglibc-7dcc4ea070f087abcb1915d1976f30915e6606ad.tar
glibc-7dcc4ea070f087abcb1915d1976f30915e6606ad.tar.gz
glibc-7dcc4ea070f087abcb1915d1976f30915e6606ad.tar.bz2
glibc-7dcc4ea070f087abcb1915d1976f30915e6606ad.zip
Adjust for last change.
2001-01-28 Andreas Jaeger <aj@suse.de> * oldsemaphore.c (__old_sem_init): Adjust for last change. * sysdeps/pthread/bits/libc-lock.h: Likewise. * spinlock.c: Likewise.
Diffstat (limited to 'linuxthreads/spinlock.c')
-rw-r--r--linuxthreads/spinlock.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/linuxthreads/spinlock.c b/linuxthreads/spinlock.c
index 5846c45fec..63f2ed1693 100644
--- a/linuxthreads/spinlock.c
+++ b/linuxthreads/spinlock.c
@@ -155,7 +155,7 @@ int __pthread_unlock(struct _pthread_fastlock * lock)
#if !defined HAS_COMPARE_AND_SWAP || defined TEST_FOR_COMPARE_AND_SWAP
{
WRITE_MEMORY_BARRIER();
- lock->__spinlock = LT_SPINLOCK_INIT;
+ lock->__spinlock = __LT_SPINLOCK_INIT;
return 0;
}
#endif
@@ -394,7 +394,7 @@ void __pthread_alt_lock(struct _pthread_fastlock * lock,
}
WRITE_MEMORY_BARRIER();
- lock->__spinlock = LT_SPINLOCK_INIT;
+ lock->__spinlock = __LT_SPINLOCK_INIT;
if (suspend_needed)
suspend (self);
@@ -468,7 +468,7 @@ int __pthread_alt_timedlock(struct _pthread_fastlock * lock,
}
WRITE_MEMORY_BARRIER();
- lock->__spinlock = LT_SPINLOCK_INIT;
+ lock->__spinlock = __LT_SPINLOCK_INIT;
goto suspend;
}
#endif
@@ -649,7 +649,7 @@ void __pthread_alt_unlock(struct _pthread_fastlock *lock)
#if !defined HAS_COMPARE_AND_SWAP || defined TEST_FOR_COMPARE_AND_SWAP
{
WRITE_MEMORY_BARRIER();
- lock->__spinlock = LT_SPINLOCK_INIT;
+ lock->__spinlock = __LT_SPINLOCK_INIT;
}
#endif
}