diff options
Diffstat (limited to 'linuxthreads')
-rw-r--r-- | linuxthreads/ChangeLog | 2 | ||||
-rw-r--r-- | linuxthreads/spinlock.c | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/linuxthreads/ChangeLog b/linuxthreads/ChangeLog index 38cbe5879b..952815c579 100644 --- a/linuxthreads/ChangeLog +++ b/linuxthreads/ChangeLog @@ -1,5 +1,7 @@ 2000-05-28 Ulrich Drepper <drepper@redhat.com> + * spinlock.c (__pthread_lock): Remove ASSERT. + * Makefile (tests): Add ex8. * Examples/ex8.c: New file. diff --git a/linuxthreads/spinlock.c b/linuxthreads/spinlock.c index 50edfa38cb..3f5b8233b0 100644 --- a/linuxthreads/spinlock.c +++ b/linuxthreads/spinlock.c @@ -52,7 +52,6 @@ void internal_function __pthread_lock(struct _pthread_fastlock * lock, 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 */ |