Zen API

- Home
- Topics
- Types
- Files

All Classes Files Functions Variables Typedefs Friends Macros Modules Pages

kStatus kLock_Enter | ( | kLock | lock | ) |

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.

Parameters

  lock | Lock object.

Returns
  Operation status.