Skip to content
Snippets Groups Projects
Commit 6568fb2f authored by Axel Naumann's avatar Axel Naumann
Browse files

Use new TMutex::Reset/Restore() to clear any and all locks active before entering user code.

This is kosher because the locks were taken to forbid other threads from modifying state while this thread is modifying state.
But this thread will not modify any state while the user code is active; thus while that user code is active,
the mutex can be completely reset, and restored once the user code returns.
parent 2fe15edf
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment