int taskSpawn
(
char * name, /* name of new task (stored at pStackBase) */
int priority, /* priority of new task */
int options, /* task option word */
int stackSize, /* size (bytes) of stack needed plus name */
FUNCPTR entryPt, /* entry point of new task */
int arg1, /* 1st of 10 req'd task args to pass to func */
int arg2,
int arg3,
int arg4,
int arg5,
int arg6,
int arg7,
int arg8,
int arg9,
int arg10
)
taskSpawn ("ROC", name of ROC task
200, priority
8, task option ??
250000, size of stack
coda_roc, entry point of new task
"", 1st arg
"-session", 2nd arg (-session)
"cdaq", 3rd arg ("session name")
"-objects", 4th arg (-objects")
"ROC11 ROC" 5th arg of coda_roc (ROC11 ROC)
)