next up previous contents
Next: 10.11 fluke_cond_set_state: set the Up: 10 Condition Variables Previous: 10.9 fluke_cond_move: move a

10.10 fluke_cond_reference: associates a reference with a condition variable

SYNOPSIS

void fluke_cond_reference(fluke_cond_t *cond, fluke_ref_t *new_cond_ref);

DESCRIPTION

This function associates an active reference object with the specified active condition variable object.

PARAMETERS

cond
The condition variable object to which the new reference will refer.
new_cond_ref
A pointer to a valid reference object.

ERRORS

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_OBJECT
cond or new_cond_ref does not point to an active object.
NOT_COND
The object pointed to by cond is not a condition variable object.
INVALID_OBJECT
The state of the condition variable object has become invalid.
NOT_REF
new_cond_ref does not point to a valid reference object.



Utah Flux Research Group