X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=threads.cc;h=dd2a59832027557b543d8fd606f842527b270f97;hb=e83585ce14ab6ae325c83d815dce8eb77b0e5897;hp=2ff058f45ebe727e952b2769a9f2336dc461106b;hpb=e60d8c23d30a0dfe66b8426f7f2ecf576e812028;p=model-checker.git diff --git a/threads.cc b/threads.cc index 2ff058f..dd2a598 100644 --- a/threads.cc +++ b/threads.cc @@ -4,7 +4,7 @@ #include -#include "libthreads.h" +#include #include "common.h" #include "threads-model.h" @@ -161,7 +161,7 @@ Thread::Thread(thrd_t *t, void (*func)(void *), void *a) : /* Initialize state */ ret = create_context(); if (ret) - printf("Error in create_context\n"); + model_print("Error in create_context\n"); id = model->get_next_id(); *user_thread = id;