projects
/
model-checker.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
print stats only at end of execution
[model-checker.git]
/
threads.cc
diff --git
a/threads.cc
b/threads.cc
index 2ff058f45ebe727e952b2769a9f2336dc461106b..dd2a59832027557b543d8fd606f842527b270f97 100644
(file)
--- a/
threads.cc
+++ b/
threads.cc
@@
-4,7
+4,7
@@
#include <string.h>
#include <string.h>
-#include
"libthreads.h"
+#include
<threads.h>
#include "common.h"
#include "threads-model.h"
#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)
/* 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;
id = model->get_next_id();
*user_thread = id;