From e94168acd89dba4faef5e43f970633a781e8cba2 Mon Sep 17 00:00:00 2001 From: Andrew Morton Date: Tue, 16 May 2023 22:21:24 +0000 Subject: 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 --- src/third_party/wiredtiger/src/include/mutex.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/third_party/wiredtiger/src/include/mutex.h') 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 -- cgit v1.2.1