From 64c442461b84953230d3dc4e78cb649db6c54abc Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sun, 1 Jan 2012 21:12:17 +0000 Subject: changing scheduler priorities to revert to DEFAULT instead of inheriting parent-task priority unless something else is explicitly specified --- src/chat/gnunet-chat.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/chat') diff --git a/src/chat/gnunet-chat.c b/src/chat/gnunet-chat.c index af4eb53f3..4abc58c9f 100644 --- a/src/chat/gnunet-chat.c +++ b/src/chat/gnunet-chat.c @@ -572,9 +572,10 @@ handle_command (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) next: handle_cmd_task = - GNUNET_SCHEDULER_add_delayed (GNUNET_TIME_relative_multiply - (GNUNET_TIME_UNIT_MILLISECONDS, 100), - &handle_command, NULL); + GNUNET_SCHEDULER_add_delayed_with_priority (GNUNET_TIME_relative_multiply + (GNUNET_TIME_UNIT_MILLISECONDS, 100), + GNUNET_SCHEDULER_PRIORITY_UI, + &handle_command, NULL); return; out: -- cgit v1.2.3