revamp scheduler so we can start threads early
[c11tester.git] / pthread.cc
index 808aa207cd72338806932b3afd86c2d5abe367c6..9a222b9d85a24bccb70d04a92d549bebf5f9a33c 100644 (file)
@@ -53,6 +53,7 @@ int pthread_mutex_init(pthread_mutex_t *p_mutex, const pthread_mutexattr_t *) {
        if (!model) {
                snapshot_system_init(10000, 1024, 1024, 40000);
                model = new ModelChecker();
+               model->startChecker();
        }
 
        ModelExecution *execution = model->get_execution();