(__pthread_lock): Remove ASSERT.
authordrepper <drepper>
Sun, 28 May 2000 22:53:04 +0000 (22:53 +0000)
committerdrepper <drepper>
Sun, 28 May 2000 22:53:04 +0000 (22:53 +0000)
linuxthreads/spinlock.c

index 50edfa3..3f5b823 100644 (file)
@@ -52,7 +52,6 @@ void internal_function __pthread_lock(struct _pthread_fastlock * lock,
       newstatus = (long) self;
     }
     if (self != NULL) {
       newstatus = (long) self;
     }
     if (self != NULL) {
-      ASSERT(self->p_nextlock == NULL);
       THREAD_SETMEM(self, p_nextlock, (pthread_descr) oldstatus);
       /* Make sure the store in p_nextlock completes before performing
          the compare-and-swap */
       THREAD_SETMEM(self, p_nextlock, (pthread_descr) oldstatus);
       /* Make sure the store in p_nextlock completes before performing
          the compare-and-swap */