Zen API

- Home
- Topics
- Types
- Files

All Classes Files Functions Variables Typedefs Friends Macros Modules Pages

kStatus kLock_Construct | ( | kLock * | lock,
|  | kAlloc | allocator
| ) |  |

Constructs a lock object.

The constructed object is not waitable. When used with the kLock_EnterEx method, kINFINITE is the only supported timeout value.

Parameters

  lock | Destination for the constructed object handle.
  allocator | Memory allocator (or kNULL for default).

Returns
  Operation status.