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:
parent
1ff9688d62
commit
81639a4097
1 changed files with 4 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue