next up previous contents
Next: 3.10 fluke_task_set_state: set the Up: 3 Task Previous: 3.8 fluke_task_move: move a

3.9 fluke_task_reference: associates a reference with a task

SYNOPSIS

void fluke_task_reference(fluke_task_t *task, fluke_ref_t *new_task_ref);

DESCRIPTION

This function associates an active reference object with the specified active task object.

PARAMETERS

task
The active task object to which the new reference will refer.
new_task_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
task or new_task_ref does not point to an active object.
NOT_TASK
The object pointed to by task is not a task object.
INVALID_OBJECT
The state of the task or reference object has become invalid.
NOT_REF
new_task_ref does not point to a valid reference object.

RELATED INFORMATION

fluke_thread_set_state



Utah Flux Research Group