scheduler cause high CPU usage in syslog

This commit is contained in:
lxsang 2020-08-31 08:24:21 +02:00
parent 883ef9c3a3
commit e38cd9de1b
3 changed files with 505 additions and 439 deletions

Binary file not shown.

File diff suppressed because it is too large Load Diff

View File

@ -269,7 +269,6 @@ void antd_execute_task(antd_scheduler_t* scheduler, antd_task_item_t taski)
if(!taski) if(!taski)
return; return;
// execute the task // execute the task
LOG("Execute task with priority: %d", taski->task->priority);
void *ret = (*(taski->task->handle))(taski->task->data); void *ret = (*(taski->task->handle))(taski->task->data);
// check the return data if it is a new task // check the return data if it is a new task
if(!ret) if(!ret)