projects
/
cdsspec-compiler.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6f2366a
)
libthreads: don't create ModelAction for thrd_join()
author
Brian Norris
<banorris@uci.edu>
Tue, 24 Apr 2012 06:31:52 +0000
(23:31 -0700)
committer
Brian Norris
<banorris@uci.edu>
Tue, 24 Apr 2012 06:31:52 +0000
(23:31 -0700)
Temporarily? I may need to model-check join operations later.
libthreads.cc
patch
|
blob
|
history
diff --git
a/libthreads.cc
b/libthreads.cc
index 86a95e63f7d83d73f81ac89197102b85ba410eb6..7dd043c317c715e0604b3cdecf61d210c6bf9742 100644
(file)
--- a/
libthreads.cc
+++ b/
libthreads.cc
@@
-23,8
+23,6
@@
int thrd_join(thrd_t t)
Thread *th = model->get_thread(thrd_to_id(t));
while (th->get_state() != THREAD_COMPLETED && !ret)
ret = model->switch_to_master(NULL);
- /* seq_cst is just a 'don't care' parameter */
- ret = model->switch_to_master(new ModelAction(THREAD_JOIN, memory_order_seq_cst, NULL, VALUE_NONE));
return ret;
}