add threadStatus# primop, for querying the status of a ThreadId#