format code
This commit is contained in:
parent
8d78f0cbeb
commit
2b190bdb1d
4 changed files with 5 additions and 8 deletions
|
|
@ -2,4 +2,3 @@
|
|||
#include <stdlib.h>
|
||||
|
||||
#include "decision.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -66,8 +66,8 @@ static xce_scheduler_t sched;
|
|||
|
||||
static void stop_scheduler(xce_scheduler_t* sched)
|
||||
{
|
||||
xce_decision_t *decision = NULL;
|
||||
|
||||
xce_decision_t* decision = NULL;
|
||||
|
||||
INFO("stop to scheduling jobs...");
|
||||
|
||||
sched->stop = 1;
|
||||
|
|
|
|||
|
|
@ -186,7 +186,7 @@ void sched_fini(xce_scheduler_t* sched)
|
|||
|
||||
dataq_fini(sched->pend_updates[0]);
|
||||
dataq_fini(sched->pend_updates[1]);
|
||||
|
||||
|
||||
mylock_fini(&(sched->lock));
|
||||
|
||||
return;
|
||||
|
|
@ -249,7 +249,7 @@ int sched_update(xce_scheduler_t* sched)
|
|||
}
|
||||
|
||||
sched_pend_update_killer(it);
|
||||
|
||||
|
||||
if (rc < 0) {
|
||||
/* something wrong? */
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue