2000-07-18  Ulrich Drepper  <drepper@redhat.com>

	* spinlock.c (__pthread_alt_timedlock): Add back one of the
	removed thread_self calls.
This commit is contained in:
Ulrich Drepper 2000-07-18 18:35:20 +00:00
parent 83142e8fe1
commit 70c5b33d9f
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2000-07-18 Ulrich Drepper <drepper@redhat.com>
* spinlock.c (__pthread_alt_timedlock): Add back one of the
removed thread_self calls.
2000-07-18 Kaz Kylheku <kaz@ashi.footprints.net>
* spinlock.c (__pthread_alt_lock, __pthread_alt_timedlock): Changed

View File

@ -478,7 +478,8 @@ int __pthread_alt_timedlock(struct _pthread_fastlock * lock,
newstatus = 1;
} else {
if (self == NULL)
p_wait_node->thr = self;
self = thread_self();
p_wait_node->thr = self;
newstatus = (long) p_wait_node;
}
p_wait_node->abandoned = 0;