aboutsummaryrefslogtreecommitdiff
path: root/src/chat
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2012-01-01 21:12:17 +0000
committerChristian Grothoff <christian@grothoff.org>2012-01-01 21:12:17 +0000
commit64c442461b84953230d3dc4e78cb649db6c54abc (patch)
tree49ec875b32ce171aac2bbae1b5fcaad516a94cf6 /src/chat
parent0413c7690e087a0514447a87bc8118b2a244c902 (diff)
downloadgnunet-64c442461b84953230d3dc4e78cb649db6c54abc.tar.gz
gnunet-64c442461b84953230d3dc4e78cb649db6c54abc.zip
changing scheduler priorities to revert to DEFAULT instead of inheriting parent-task priority unless something else is explicitly specified
Diffstat (limited to 'src/chat')
-rw-r--r--src/chat/gnunet-chat.c7
1 files changed, 4 insertions, 3 deletions
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)
572 572
573next: 573next:
574 handle_cmd_task = 574 handle_cmd_task =
575 GNUNET_SCHEDULER_add_delayed (GNUNET_TIME_relative_multiply 575 GNUNET_SCHEDULER_add_delayed_with_priority (GNUNET_TIME_relative_multiply
576 (GNUNET_TIME_UNIT_MILLISECONDS, 100), 576 (GNUNET_TIME_UNIT_MILLISECONDS, 100),
577 &handle_command, NULL); 577 GNUNET_SCHEDULER_PRIORITY_UI,
578 &handle_command, NULL);
578 return; 579 return;
579 580
580out: 581out: