Store acquired locks in a thread-local variable.
Compare the release locks to the acquired locks. More interestingly, in further commits this will allow us to annotate functions to verify the appropriate locks are held at runtime, and head off potential sources of corruption. Only enabled on development builds.
Please register or sign in to comment