From 70c5b33d9f299675f5369df27b0f42c317344827 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Tue, 18 Jul 2000 18:35:20 +0000 Subject: Update. 2000-07-18 Ulrich Drepper * spinlock.c (__pthread_alt_timedlock): Add back one of the removed thread_self calls. --- linuxthreads/spinlock.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'linuxthreads/spinlock.c') diff --git a/linuxthreads/spinlock.c b/linuxthreads/spinlock.c index 4ed4203970..6cd2679d98 100644 --- a/linuxthreads/spinlock.c +++ b/linuxthreads/spinlock.c @@ -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; -- cgit 1.4.1