]> sourceware.org Git - glibc.git/commitdiff
Adjust for last change.
authorAndreas Jaeger <aj@suse.de>
Sun, 28 Jan 2001 16:39:07 +0000 (16:39 +0000)
committerAndreas Jaeger <aj@suse.de>
Sun, 28 Jan 2001 16:39:07 +0000 (16:39 +0000)
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.

linuxthreads/ChangeLog
linuxthreads/oldsemaphore.c
linuxthreads/spinlock.c
linuxthreads/sysdeps/pthread/bits/libc-lock.h

index c4cacf29e149d1d17f9976b9cf8e41a0b998d791..b28b7062980bcd437f8487860afde93a89e9085f 100644 (file)
@@ -1,3 +1,9 @@
+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.
+
 2001-01-28  Ulrich Drepper  <drepper@redhat.com>
 
        * sysdeps/pthread/bits/initspin.h: Make all names namespace clean.
index 82cd63797f9f87e94931dda0a732960038b8ddfa..da5272cd246bc4f81413f72ac426f81174128506 100644 (file)
@@ -73,7 +73,7 @@ int __old_sem_init(old_sem_t *sem, int pshared, unsigned int value)
        errno = ENOSYS;
        return -1;
     }
-  sem->sem_spinlock = LT_SPINLOCK_INIT;
+  sem->sem_spinlock = __LT_SPINLOCK_INIT;
   sem->sem_status = ((long)value << 1) + 1;
   return 0;
 }
index 5846c45feca9038bc91f75ce8ec07707f7dae055..63f2ed16932177441cef3f98d84c744986f79a3b 100644 (file)
@@ -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
 }
index 41bca4de3ffe1f497c8db93b71f1988d09d08a7a..dbd9cc14fd61d54e6f9eb8a3b21be14f2739d73f 100644 (file)
@@ -1,5 +1,5 @@
 /* libc-internal interface for mutex locks.  LinuxThreads version.
-   Copyright (C) 1996, 1997, 1998, 1999, 2000 Free Software Foundation, Inc.
+   Copyright (C) 1996,1997,1998,1999,2000,2001 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -55,7 +55,7 @@ typedef pthread_key_t __libc_key_t;
    initialized locks must be set to one due to the lack of normal
    atomic operations.) */
 
-#if LT_SPINLOCK_INIT == 0
+#if __LT_SPINLOCK_INIT == 0
 #  define __libc_lock_define_initialized(CLASS,NAME) \
   CLASS __libc_lock_t NAME;
 #else
This page took 0.052366 seconds and 5 git commands to generate.