324 #include <ubinos_config.h>
329 #define TASK_WAITOPT__IGNOREINVALID 0x80
332 #define TASK_WAITOPT__ALL 0x40
335 #define TASK_OPT__NOAUTODEL 0x40
388 unsigned int stackdepth,
const char * name);
428 unsigned int stackdepth,
const char * name);
477 int priority,
unsigned int stackdepth,
const char * name,
478 unsigned int tag,
unsigned int option);
690 int count,
unsigned int waitopt);
733 void ** param_p,
int count,
unsigned int waitopt,
unsigned int tick);
776 void ** param_p,
int count,
unsigned int waitopt,
unsigned int timems);
866 unsigned int timems);
unsigned int reserved2
Definition: task.h:346
unsigned int valid
Definition: task.h:344
unsigned int type
Definition: task.h:343
unsigned int reserved
Definition: task.h:345
int task_getmaxstackusage(task_pt task, unsigned int *maxstackusage_p)
int task_getlowestpriority(void)
int task_join_timed(task_pt *task_p, int *result_p, int count, unsigned int tick)
task_pt task_getcur(void)
int task_setmaxwaitsigobj(task_pt task, int max)
int task_sleepms(unsigned int timems)
int task_join_timedms(task_pt *task_p, int *result_p, int count, unsigned int timems)
_task_tip_t * task_pt
Definition: task.h:350
int task_getstacksize(task_pt task, unsigned int *stacksize_p)
int task_create_noautodel(task_pt *task_p, taskfunc_ft func, void *arg, int priority, unsigned int stackdepth, const char *name)
unsigned int task_getdefaultstackdepth(void)
struct __task_tip_t _task_tip_t
int task_getmaxwaitsigobj(task_pt task)
int task_waitforsigobjs_timedms(void **sigobj_p, int *sigtype_p, void **param_p, int count, unsigned int waitopt, unsigned int timems)
int task_is_idle(task_pt task)
unsigned int task_getremainingtimeout(void)
int task_join_and_delete(task_pt *task_p, int *result_p, int count)
int task_getmiddlepriority(void)
int task_waitforsigobjs_timed(void **sigobj_p, int *sigtype_p, void **param_p, int count, unsigned int waitopt, unsigned int tick)
int task_waitforsigobjs(void **sigobj_p, int *sigtype_p, void **param_p, int count, unsigned int waitopt)
int task_join(task_pt *task_p, int *result_p, int count)
int task_sleep(unsigned int tick)
void(* taskfunc_ft)(void *)
Definition: task.h:338
int task_setpriority(task_pt task, int priority)
unsigned int task_getremainingtimeoutms(void)
int task_join_and_delete_timedms(task_pt *task_p, int *result_p, int count, unsigned int timems)
int task_resume(task_pt task)
int task_create_ext(task_pt *task_p, taskfunc_ft func, void *arg, int priority, unsigned int stackdepth, const char *name, unsigned int tag, unsigned int option)
int task_delete(task_pt *task_p)
int task_suspend(task_pt task)
int task_getpriority(task_pt task)
int task_gethighestpriority(void)
int task_join_and_delete_timed(task_pt *task_p, int *result_p, int count, unsigned int tick)
int task_create(task_pt *task_p, taskfunc_ft func, void *arg, int priority, unsigned int stackdepth, const char *name)
unsigned int task_getminstackdepth(void)