fluke_error_t fluke_cond_create( fluke_cond_t *new_cond);
Creates a new condition variable object.The condition variable's hash value will be set to an implementation-specific value. To set a specific hash value use fluke_cond_create_hash.
- new_cond
- A pointer to the address in the current task's address space at which to create the new condition variable object.
If any of the following errors is detected, the appropriate error code is returned: All of these have an implicit FLUKE_ prefix.If any of the following errors is detected by the Fluke implementation, it causes the current thread to take a synchronous exception with one of the following codes. All of these have an implicit FLUKE_INSANITY_ prefix.
- NO_MEMORY
- Insufficient resources were available.
- OBJECT_EXISTS
- An object already exists at the location pointed to by new_cond.
- NOT_ALIGNED
- new_cond is not properly aligned for a condition variable object.
fluke_cond_create_hash