projects
/
model-checker.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rmw example works
[model-checker.git]
/
threads.cc
diff --git
a/threads.cc
b/threads.cc
index e3aed76d2e756f564411796fef2e3e3e5cc990cc..792014e62b4d3c88c1ecc052a4de120c25cace52 100644
(file)
--- a/
threads.cc
+++ b/
threads.cc
@@
-35,7
+35,7
@@
void thread_startup() {
CREATE event, so we don't get redundant traces... */
/* Add dummy "start" action, just to create a first clock vector */
CREATE event, so we don't get redundant traces... */
/* Add dummy "start" action, just to create a first clock vector */
- model->switch_to_master(new ModelAction(THREAD_START, memory_order_seq_cst, curr_thread));
+ model->switch_to_master(new ModelAction(THREAD_START,
std::
memory_order_seq_cst, curr_thread));
/* Call the actual thread function */
curr_thread->start_routine(curr_thread->arg);
/* Call the actual thread function */
curr_thread->start_routine(curr_thread->arg);