In file No file:

int taskCreate (int attr, int priority, taskID_t* taskID, const char* taskname, taskfunc_t task, taskarg_t arg)

Creates a task (VxWorks) or a thread (UNIX)

Documentation

Creates a task (VxWorks) or a thread (UNIX). This function uses either taskSpawn or pthread_create, respectively. The function accepts the task/thread attributes, the task priority, the task function and a pointer to the task argument. It returns a status flag and the task ID if successful. The task attributes are specific to the environment (see manual page of taskSpawn and pthread_create, respectively).

Returns:
0 if successfull, negative otherwise
Parameters:
attr - task creation attributes
priority - task priority
taskID - pointer to a task ID (return argument)
taskname - name of task (can be NULL)
task - function pointer to task/thread
arg - pointer to task arguments
Author:
DS, July 98
See Also:
Task and Semaphore API

alphabetic index hierarchy of classes


Please send questions and comments to sigg_d@ligo-wa.caltech.edu


generated by doc++