projects
/
c11tester.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
add consume to run
[c11tester.git]
/
threads-model.h
diff --git
a/threads-model.h
b/threads-model.h
index c6078200f5911f5bf3dd78f80125b881683e1a0e..5756c1029688fb6fd9d29616291d496129592f7a 100644
(file)
--- a/
threads-model.h
+++ b/
threads-model.h
@@
-49,6
+49,7
@@
public:
static int swap(ucontext_t *ctxt, Thread *t);
static int swap(Thread *t, ucontext_t *ctxt);
+ static int swap(Thread *t, Thread *t2);
thread_state get_state() const { return state; }
void set_state(thread_state s);