Pthread code makes sure it goes into _M mode
authorBarret Rhoden <brho@cs.berkeley.edu>
Wed, 2 Mar 2011 19:08:04 +0000 (11:08 -0800)
committerKevin Klues <klueska@cs.berkeley.edu>
Thu, 3 Nov 2011 00:35:59 +0000 (17:35 -0700)
commitd9e21f815f061bdfeab9137a84c9a61ff4f5da24
treeb234f92dcf1ab8a0a3a4ef896aa121eb5c02f0ed
parente5c3921df5a2d189199b93cdd0c703be75fe55f1
Pthread code makes sure it goes into _M mode

Was causing assertion failures since it wasn't really in _M mode (which
is what the assertions are there for!).  Adds a few more assertions
about when we are in vcore_context.
user/parlib/vcore.c
user/pthread/pthread.c