Native implementation of a mutually exclusive lock.
Increments the internal lock counter.
Tries to increment the internal lock counter.
Decrements the internal lock counter, If the counter reaches 0, the lock is released.
See Implementation
Native implementation of a mutually exclusive lock.