From 4d3a2ae38462563844bba13ed159d7150f50c0e9 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Fri, 9 Jul 1999 13:46:33 +0000 Subject: [PATCH] Added p_nextlock entry to separate queueing for a lock from queueing for a CV (sometimes a thread queues on a lock to serialize removing itself from a CV queue). --- linuxthreads/internals.h | 1 + 1 file changed, 1 insertion(+) diff --git a/linuxthreads/internals.h b/linuxthreads/internals.h index cfd72cda728..070150fa5dd 100644 --- a/linuxthreads/internals.h +++ b/linuxthreads/internals.h @@ -74,6 +74,7 @@ struct _pthread_descr_struct { pthread_descr p_nextlive, p_prevlive; /* Double chaining of active threads */ pthread_descr p_nextwaiting; /* Next element in the queue holding the thr */ + pthread_descr p_nextlock; /* can be on a queue and waiting on a lock */ pthread_t p_tid; /* Thread identifier */ int p_pid; /* PID of Unix process */ int p_priority; /* Thread priority (== 0 if not realtime) */ -- 2.47.3