summaryrefslogtreecommitdiffstats
path: root/lib/libpthread/sys/lock.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libpthread/sys/lock.h')
-rw-r--r--lib/libpthread/sys/lock.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libpthread/sys/lock.h b/lib/libpthread/sys/lock.h
index 449ad36..e397111 100644
--- a/lib/libpthread/sys/lock.h
+++ b/lib/libpthread/sys/lock.h
@@ -55,6 +55,7 @@ struct lockreq {
struct lockuser *lr_watcher; /* only used for priority locks */
struct lockuser *lr_owner; /* only used for priority locks */
long lr_waiting; /* non-zero when wakeup needed */
+ volatile long lr_handshake; /* non-zero when wakeup in progress */
};
struct lockuser {
OpenPOWER on IntegriCloud