libsaria: Rename IdleTask::run_task()
I think that just calling it run() is better. Signed-off-by: Bryan Schumaker <bjschuma@gmail.com>
This commit is contained in:
parent
9c72e56261
commit
e4d73fee48
|
@ -17,7 +17,7 @@ class IdleTask
|
|||
IdleTask(void (*)());
|
||||
IdleTask(void (*)(void *), void *);
|
||||
~IdleTask();
|
||||
void run_task();
|
||||
void run();
|
||||
bool should_cancel(void *);
|
||||
};
|
||||
|
||||
|
@ -43,7 +43,7 @@ IdleTask::~IdleTask()
|
|||
{
|
||||
}
|
||||
|
||||
void IdleTask::run_task()
|
||||
void IdleTask::run()
|
||||
{
|
||||
if (func)
|
||||
func();
|
||||
|
@ -97,7 +97,7 @@ namespace libsaria
|
|||
if (size() == 0)
|
||||
return 0;
|
||||
|
||||
idle_queue[0]->run_task();
|
||||
idle_queue[0]->run();
|
||||
delete idle_queue[0];
|
||||
|
||||
idle_queue.pop_front();
|
||||
|
|
Loading…
Reference in New Issue