mirror of
https://github.com/genodelabs/genode.git
synced 2025-02-20 09:46:20 +00:00
lx_emul: set timer irq task to highest priority
If a timer signal got received, first all time updates have to be done, before other tasks get active. Ref genodelabs/genode#4778
This commit is contained in:
parent
2c1724d7f2
commit
eba2c8cf2f
@ -99,6 +99,9 @@ static int kernel_idle(void * args)
|
||||
|
||||
static void timer_loop(void)
|
||||
{
|
||||
/* set timer interrupt task to highest priority */
|
||||
lx_emul_task_priority(current, 0);
|
||||
|
||||
for (;;) {
|
||||
lx_emul_task_schedule(true);
|
||||
lx_emul_time_handle();
|
||||
|
Loading…
x
Reference in New Issue
Block a user