pthread: Panic if there is a bad thread state
authorBarret Rhoden <brho@cs.berkeley.edu>
Mon, 26 Oct 2015 21:44:31 +0000 (17:44 -0400)
committerBarret Rhoden <brho@cs.berkeley.edu>
Wed, 28 Oct 2015 16:05:13 +0000 (12:05 -0400)
commitd2a9162fc9d310d2dfb322c9f783ba0235f6c489
treead6958d1f85f805f46db655b10a70843ca5f4349
parent8a9a5b319756b66c459491c03179fb4f81e4e00c
pthread: Panic if there is a bad thread state

There's no reason to merely print here.  If the type is wrong, there is
a critical bug in the 2LS.

Signed-off-by: Barret Rhoden <brho@cs.berkeley.edu>
user/pthread/pthread.c