Skip to content

Latest commit

 

History

16 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

task_polling

introduction

task polling is a runtime processor to handle multiple task based on software timer.

get started

intialize a task

void task_init(struct task_list *item, const char *_name, uint32_t _deadline, task_ob _ob, task_timer _timer)

start task

void task_start(void)

timer source

/* according user define self timer source */
static task_timer timer = NULL

example

cd build

cmake --build . && ./demo 

About

A easy task polling based on software timer

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages