Module: RaceGuard::Context
- Defined in:
- lib/race_guard/context.rb
Overview
Thread-local execution context (no global Thread => state map).
Defined Under Namespace
Modules: RmwWithLockBlockDepth Classes: Facade, MutableStore, Snapshot
Constant Summary collapse
- TLS_KEY =
:__race_guard_context_mutable__- RMW_THREAD_FLAGS =
Must match DBLockAuditor::ReadModifyWrite::Patches / ReadModWriteImpl: thread-local flags not stored on MutableStore; clear them in #reset!.
%i[ __race_guard_rmw_in_save_depth __race_guard_rmw_in_read_hook __race_guard_rmw_with_lock_by_row ].freeze