projects
/
c11tester.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
remove test cases
[c11tester.git]
/
threads.cc
diff --git
a/threads.cc
b/threads.cc
index 17b76863a62be4943ef07fc22d5e7df5bf6e83c7..8b55a91b186b61534ec124ca2a990283c11a3ffb 100644
(file)
--- a/
threads.cc
+++ b/
threads.cc
@@
-59,11
+59,9
@@
Thread * thread_current(void)
return model->get_current_thread();
}
-#ifdef TLS
void modelexit() {
model->switch_to_master(new ModelAction(THREAD_FINISH, std::memory_order_seq_cst, thread_current()));
}
-#endif
void initMainThread() {
atexit(modelexit);