aboutsummaryrefslogtreecommitdiffstats
path: root/src/charon/threads/scheduler.c
diff options
context:
space:
mode:
authorMartin Willi <martin@strongswan.org>2006-10-26 09:46:56 +0000
committerMartin Willi <martin@strongswan.org>2006-10-26 09:46:56 +0000
commitb83806d83d9170487120c688d39be4a9abda3fad (patch)
tree0cbef6c1774a1c9f7b66fe5a7b6106746cb302f6 /src/charon/threads/scheduler.c
parent80d35dd6d3c6366396def278b510d1ac10fe6195 (diff)
downloadstrongswan-b83806d83d9170487120c688d39be4a9abda3fad.tar.bz2
strongswan-b83806d83d9170487120c688d39be4a9abda3fad.tar.xz
improved signal handling and emitting
Diffstat (limited to 'src/charon/threads/scheduler.c')
-rw-r--r--src/charon/threads/scheduler.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/charon/threads/scheduler.c b/src/charon/threads/scheduler.c
index d62b779d6..87dcceaac 100644
--- a/src/charon/threads/scheduler.c
+++ b/src/charon/threads/scheduler.c
@@ -58,16 +58,16 @@ static void get_events(private_scheduler_t * this)
/* cancellation disabled by default */
pthread_setcancelstate(PTHREAD_CANCEL_DISABLE, NULL);
- DBG1(SIG_DBG_JOB, "scheduler thread running, thread_ID: %06u",
+ DBG1(DBG_JOB, "scheduler thread running, thread_ID: %06u",
(int)pthread_self());
while (TRUE)
{
- DBG2(SIG_DBG_JOB, "waiting for next event...");
+ DBG2(DBG_JOB, "waiting for next event...");
/* get a job, this block until one is available */
current_job = charon->event_queue->get(charon->event_queue);
/* queue the job in the job queue, workers will eat them */
- DBG2(SIG_DBG_JOB, "got event, adding job %N to job-queue",
+ DBG2(DBG_JOB, "got event, adding job %N to job-queue",
job_type_names, current_job->get_type(current_job));
charon->job_queue->add(charon->job_queue, current_job);
}