mirror of
https://github.com/9fans/plan9port.git
synced 2025-01-12 11:10:07 +00:00
add check for procscheduler returning
This commit is contained in:
parent
2548dc0d11
commit
d7688cce37
1 changed files with 1 additions and 0 deletions
|
@ -614,6 +614,7 @@ main(int argc, char **argv)
|
|||
mainstacksize = 256*1024;
|
||||
_threadcreate(p, threadmainstart, nil, mainstacksize);
|
||||
procscheduler(p);
|
||||
sysfatal("procscheduler returned in threadmain!");
|
||||
/* does not return */
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue