libthreads: perform all scheduling/model-checking from master thread