1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-18 12:52:44 +01:00

Merge pull request #14559 from bergzand/pr/sched/idle_do_while

core/sched: tiny logic optimization in idle case
This commit is contained in:
Alexandre Abadie 2020-07-21 11:50:09 +02:00 committed by GitHub
commit ea8183aac8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -109,9 +109,9 @@ int __attribute__((used)) sched_run(void)
active_thread = NULL;
}
while (!runqueue_bitcache) {
do {
sched_arch_idle();
}
} while (!runqueue_bitcache);
}
}