Fixes pthread thread0 initialization
authorBarret Rhoden <brho@cs.berkeley.edu>
Wed, 10 Aug 2011 22:34:26 +0000 (15:34 -0700)
committerKevin Klues <klueska@cs.berkeley.edu>
Thu, 3 Nov 2011 00:36:06 +0000 (17:36 -0700)
commit7febb44de48df67664a0dd83455c2c1a7b6ea414
tree93ba2531986eefe8c52362270ad1ba9863ce7fe5
parentbcd9665139c05fba5c9189062e0558de3721a0bd
Fixes pthread thread0 initialization

Need to have thread0 be a full pthread.  Previously, we'd have issues if
we had that thread exit while the program was still running (it'd try to
free its stack and get messed up, among other things).
user/pthread/pthread.c
user/pthread/pthread.h