Zen API
|
Blocks until exclusive ownership of the lock is acquired.
kLock ownership is recursive; the same thread can acquire the lock multiple times without blocking. The lock will be relinquished when the number of calls to kLock_Exit balances the number of successful calls to kLockEnter/kLockEnterEx.
lock | Lock object. |