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/session.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/session.h')
-rw-r--r-- | src/third_party/wiredtiger/src/include/session.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/third_party/wiredtiger/src/include/session.h b/src/third_party/wiredtiger/src/include/session.h index 43a336eb214..f9a49ae7030 100644 --- a/src/third_party/wiredtiger/src/include/session.h +++ b/src/third_party/wiredtiger/src/include/session.h @@ -53,6 +53,12 @@ typedef TAILQ_HEAD(__wt_cursor_list, __wt_cursor) WT_CURSOR_LIST; /* Maximum number of buckets to visit during a regular cursor sweep. */ #define WT_SESSION_CURSOR_SWEEP_MAX 64 +/* Invalid session ID. */ +#define WT_SESSION_ID_INVALID 0xffffffff + +/* A fake session ID for when we need to refer to a session that is actually NULL. */ +#define WT_SESSION_ID_NULL 0xfffffffe + /* * WT_SESSION_IMPL -- * Implementation of WT_SESSION. |