commit af6e459f18e56924a79fc7e732562132ee88fd22
parent 54b59fd17c20575ab6f752e0258848d79afa8ccc
Author: rsc <devnull@localhost>
Date: Fri, 21 Apr 2006 03:58:52 +0000
put threadinfo back
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/libthread/thread.c b/src/libthread/thread.c
@@ -652,7 +652,7 @@ main(int argc, char **argv)
_threadsetproc(p);
if(mainstacksize == 0)
mainstacksize = 256*1024;
-// atnotify(threadinfo, 1);
+ atnotify(threadinfo, 1);
_threadcreate(p, threadmainstart, nil, mainstacksize);
procscheduler(p);
sysfatal("procscheduler returned in threadmain!");