From: Ulrich Drepper Date: Fri, 9 Jul 1999 13:46:33 +0000 (+0000) Subject: Added p_nextlock entry to separate queueing for a lock from queueing X-Git-Tag: cvs/glibc_2-1-2~313 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=4d3a2ae38462563844bba13ed159d7150f50c0e9;p=thirdparty%2Fglibc.git 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). --- 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) */