1
0
Fork 0
mirror of https://github.com/hermitcore/libhermit.git synced 2025-03-09 00:00:03 +01:00

fine tuning of sys_yield

- checks only if a process is ready to run
- no additional timer checks
This commit is contained in:
Stefan Lankes 2016-03-14 12:23:32 +01:00
parent 1ff9688d62
commit 81639a4097

View file

@ -580,7 +580,10 @@ int sys_stat(const char* file, /*struct stat *st*/ void* st)
void sys_yield(void)
{
check_workqueues();
//check_workqueues();
if (go_down)
shutdown_system();
check_scheduling();
}
#if 0