From 14bf2f689d1bd3fa42a63470d9a7ae6ea73a7ca6 Mon Sep 17 00:00:00 2001 From: Martin Willi Date: Thu, 5 May 2011 10:51:11 +0200 Subject: Use CRITICAL job priority class for long running dispatcher jobs --- src/libcharon/plugins/maemo/maemo_service.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/libcharon/plugins/maemo') diff --git a/src/libcharon/plugins/maemo/maemo_service.c b/src/libcharon/plugins/maemo/maemo_service.c index 0e9fd8ccc..d6ba8faf7 100644 --- a/src/libcharon/plugins/maemo/maemo_service.c +++ b/src/libcharon/plugins/maemo/maemo_service.c @@ -502,7 +502,8 @@ maemo_service_t *maemo_service_create() } lib->processor->queue_job(lib->processor, - (job_t*)callback_job_create((callback_job_cb_t)run, this, NULL, NULL)); + (job_t*)callback_job_create_with_prio((callback_job_cb_t)run, + this, NULL, NULL, JOB_PRIO_CRITICAL)); return &this->public; } -- cgit v1.2.3