pub unsafe static mut swift__swift_disableExclusivityChecking: bool
Expand description
A flag which, if set, causes access tracking to be suspended. Accesses which begin while this flag is set will not be tracked, will not cause exclusivity failures, and do not need to be ended.
This is here to support tools like debuggers. Debuggers need to be able to run code at breakpoints that does things like read from a variable while there are ongoing formal accesses to it. Such code may also crash, and we need to be able to recover without leaving various objects in a permanent “accessed” state. (We also need to not leave references to scratch buffers on the stack sitting around in the runtime.)