Make Locks and Mutexes inline
Locks and mutexes only do a single operation on their function calls, so inlining them reduces the need for another function call.
Locks and mutexes only do a single operation on their function calls, so inlining them reduces the need for another function call.