put threadinfo back
This commit is contained in:
parent
54b59fd17c
commit
af6e459f18
1 changed files with 1 additions and 1 deletions
|
|
@ -652,7 +652,7 @@ main(int argc, char **argv)
|
||||||
_threadsetproc(p);
|
_threadsetproc(p);
|
||||||
if(mainstacksize == 0)
|
if(mainstacksize == 0)
|
||||||
mainstacksize = 256*1024;
|
mainstacksize = 256*1024;
|
||||||
// atnotify(threadinfo, 1);
|
atnotify(threadinfo, 1);
|
||||||
_threadcreate(p, threadmainstart, nil, mainstacksize);
|
_threadcreate(p, threadmainstart, nil, mainstacksize);
|
||||||
procscheduler(p);
|
procscheduler(p);
|
||||||
sysfatal("procscheduler returned in threadmain!");
|
sysfatal("procscheduler returned in threadmain!");
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue