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)
                   )

'Computer' 카테고리의 다른 글

48/2(9+3)  (0) 2011.04.12
taskSpawn (VxWorks) and coda boot file  (0) 2010.06.08
ipad에서 프린팅하는 비법  (0) 2010.04.16
티스토리에서 구글 검색 사용하기  (0) 2009.03.04
posted by citadel