|
Zen API
|
| 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.
| lock | Destination for the constructed object handle. |
| options | Bitset of lock options. |
| allocator | Memory allocator (or kNULL for default). |