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

Constructs a lock object with support for behavioral options.

If kLOCK_OPTION_TIMEOUT is specified, a finite timeout value can be used with kLock_EnterEx.

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