diff options
author | Andrew Morton <andrew.morton@mongodb.com> | 2023-05-16 22:21:24 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2023-05-17 00:50:01 +0000 |
commit | e94168acd89dba4faef5e43f970633a781e8cba2 (patch) | |
tree | 0d7652f551fe7152fa49512ca1ba7ff730b51e79 /src/third_party/wiredtiger/src/include/mutex.h | |
parent | b34244749ab66e8aa761dbc715dad736e3186894 (diff) | |
download | mongo-e94168acd89dba4faef5e43f970633a781e8cba2.tar.gz |
Import wiredtiger: d310d6330ea5b23835d9eb231f65bb9f91bdef21 from branch mongodb-master
ref: 2a63f4a39c..d310d6330e
for: 7.1.0-rc0
WT-11066 Add mechanisms for checking whether a session holds a spinlock
Diffstat (limited to 'src/third_party/wiredtiger/src/include/mutex.h')
-rw-r--r-- | src/third_party/wiredtiger/src/include/mutex.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/third_party/wiredtiger/src/include/mutex.h b/src/third_party/wiredtiger/src/include/mutex.h index 43eb7b2376a..143de6ce6f9 100644 --- a/src/third_party/wiredtiger/src/include/mutex.h +++ b/src/third_party/wiredtiger/src/include/mutex.h @@ -108,7 +108,8 @@ struct __wt_spinlock { #error Unknown spinlock type #endif - const char *name; /* Mutex name */ + const char *name; /* Mutex name */ + uint32_t session_id; /* The session ID */ /* * We track acquisitions and time spent waiting for some locks. For performance reasons and to |