mirror of
https://sourceware.org/git/glibc.git
synced 2025-12-24 17:51:17 +03:00
Update.
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user