From b68881abc4c50bbc8ee9e81b4e18b0ea011b83b7 Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Mon, 2 Mar 2015 17:55:31 +0100 Subject: Setup critical section management for parts that must not be interrupted. --- src/kernel/core/worker.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/kernel/core/worker.c') diff --git a/src/kernel/core/worker.c b/src/kernel/core/worker.c index 4be2f93..4f37b22 100644 --- a/src/kernel/core/worker.c +++ b/src/kernel/core/worker.c @@ -88,7 +88,7 @@ void worker_notify_time(int usecs) { time += usecs; if (next_task_time <= time) { for (int i = 0; i < nworkers; i++) { - if (resume_thread(workers[i], false)) break; + if (resume_thread(workers[i])) break; } } } -- cgit v1.2.3