mirror of
https://github.com/lxsang/ant-http
synced 2024-12-25 16:28:21 +01:00
scheduler cause high CPU usage in syslog
This commit is contained in:
parent
883ef9c3a3
commit
e38cd9de1b
BIN
dist/antd-1.0.5b.tar.gz
vendored
BIN
dist/antd-1.0.5b.tar.gz
vendored
Binary file not shown.
943
lib/handle.c
943
lib/handle.c
File diff suppressed because it is too large
Load Diff
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user