Implement task priorities and message queues
This commit is contained in:
+2
-2
@@ -523,7 +523,7 @@ static char *SctActionHandler(void *actionData, char *lastReply,
|
||||
traceIO(data->controller->node->name, "ERROR: action {%s} in {%s} node %s:\nERROR: %s",
|
||||
data->name, origScript, path, result);
|
||||
} else {
|
||||
traceIO("sctunknown", "reply:%s", "ERROR: action {%s} in {%s} node %s:\nERROR: %s",
|
||||
traceIO("sctunknown", "ERROR: action {%s} in {%s} node %s:\nERROR: %s",
|
||||
data->name, origScript, path, result);
|
||||
}
|
||||
}
|
||||
@@ -1842,7 +1842,7 @@ static void SctKillController(void *c)
|
||||
|
||||
if (pServ->pTasker) {
|
||||
TaskRegisterN(pServ->pTasker,"killsct", SctDeferredTask, NULL, SctDeferredFree,
|
||||
controller, 0);
|
||||
controller, TASK_PRIO_HIGH);
|
||||
} else {
|
||||
free(controller);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user