Zen API
 All Classes Files Functions Variables Typedefs Friends Macros Modules Pages
kStatus kLock_Construct ( kLock lock,
kAlloc  allocator 
)

Constructs a lock object.

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

Parameters
lockDestination for the constructed object handle.
allocatorMemory allocator (or kNULL for default).
Returns
Operation status.