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.