Zen API
 All Classes Files Functions Variables Typedefs Friends Macros Modules Pages
kStatus kLock_Exit ( kLock  lock)

Relinquishes ownership of the lock.

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.

Parameters
lockLock object.
Returns
Operation status.