mirror of
https://github.com/hermitcore/libhermit.git
synced 2025-03-09 00:00:03 +01:00
increase the readability
This commit is contained in:
parent
bbf6957883
commit
5f03c0efcf
1 changed files with 5 additions and 2 deletions
|
@ -580,10 +580,13 @@ int sys_stat(const char* file, /*struct stat *st*/ void* st)
|
|||
|
||||
void sys_yield(void)
|
||||
{
|
||||
//check_workqueues();
|
||||
if (go_down)
|
||||
#if 0
|
||||
check_workqueues();
|
||||
#else
|
||||
if (BUILTIN_EXPECT(go_down, 0))
|
||||
shutdown_system();
|
||||
check_scheduling();
|
||||
#endif
|
||||
}
|
||||
|
||||
#if 0
|
||||
|
|
Loading…
Add table
Reference in a new issue