From 570a53d354d611597f9d422dfbb47a609e788204 Mon Sep 17 00:00:00 2001 From: bernie Date: Sun, 31 Aug 2008 11:31:17 +0000 Subject: [PATCH] monitor: set process priority to -10 git-svn-id: https://src.develer.com/svnoss/bertos/trunk@1768 38d2e660-2303-0410-9eaa-f027e97ec537 --- bertos/kern/monitor.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bertos/kern/monitor.c b/bertos/kern/monitor.c index 5759c533..26e2025b 100644 --- a/bertos/kern/monitor.c +++ b/bertos/kern/monitor.c @@ -156,10 +156,10 @@ static void NORETURN monitor(void) } } - void monitor_start(size_t stacksize, cpu_stack_t *stack) { - proc_new(monitor, NULL, stacksize, stack); + struct Process *p = proc_new(monitor, NULL, stacksize, stack); + proc_setPri(p, -10); } #endif /* CONFIG_KERN_MONITOR */ -- 2.25.1