82 #define TIVX_TASK_PRI_HIGHEST   (0u)    89 #define TIVX_TASK_PRI_LOWEST    (15u)    96 #define TIVX_TASK_AFFINITY_ANY      (0xFFFFu)   103 #define TIVX_MAX_TASK_NAME         (12u)   119 typedef struct _tivx_task_t
   164 typedef struct _tivx_task_create_params
 vx_status tivxTaskCreate(tivx_task *task, const tivx_task_create_params_t *params)
Create a task. 
uint32_t stack_size
Task stack size, if 0, OS allocates stack with default size. 
uint32_t priority
task priority for task associated with this target TIVX_TASK_PRI_HIGHEST is highest priority...
void * tsk_handle
Handle to the task created. 
void * app_var
private app object 
void tivxTaskWaitMsecs(uint32_t msec)
waits/sleeps for given milliseconds 
uint32_t core_affinity
If task runs on a SMP CPU then this value tells the affinity of task to a given core, Valid values are 0 .. max cores in the SMP CPU. when TIVX_TASK_AFFINITY_ANY is used OS decides the task affinity. 
Parameters that can be set during task creation. 
uint32_t core_affinity
If task runs on a SMP CPU then this value tells the affinity of task to a given core, Valid values are 0 .. max cores in the SMP CPU. when TIVX_TASK_AFFINITY_ANY is used OS decides the task affinity. 
void(VX_CALLBACK * tivx_task_main_f)(void *app_var)
Entry point of task. 
vx_status tivxTaskDelete(tivx_task *task)
Delete a task. 
tivx_task_main_f task_main
Entry point for task. 
uint32_t stack_size
Task stack size, if 0, OS allocates stack with default size. 
uint32_t priority
task priority for task associated with this target TIVX_TASK_PRI_HIGHEST is highest priority...
tivx_task_main_f task_func
Entry point for task. 
void tivxTaskSetDefaultCreateParams(tivx_task_create_params_t *params)
Used to set default task create parameters in parameter structure. 
void * app_var
private app object 
uint8_t * stack_ptr
Pointer to task stack, if NULL then task stack is allcoated by OS and not supplied by user...
#define TIVX_MAX_TASK_NAME
Max Task Name Size. 
uint8_t * stack_ptr
Pointer to task stack, if NULL then task stack is allcoated by OS and not supplied by user...