projects
/
c11tester.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
move the 'link_insts' method to FuncNode class
[c11tester.git]
/
threads.cc
diff --git
a/threads.cc
b/threads.cc
index 56942f5f7d277ac12c00dc17ba4bc9ff3e31aa75..67f681ca7052538afb794ff87bb9708ff3655daa 100644
(file)
--- a/
threads.cc
+++ b/
threads.cc
@@
-86,11
+86,6
@@
int Thread::create_context()
return 0;
}
return 0;
}
-void Thread::setContext() {
- set_state(THREAD_RUNNING);
- setcontext(&context);
-}
-
/**
* Swaps the current context to another thread of execution. This form switches
* from a user Thread to a system context.
/**
* Swaps the current context to another thread of execution. This form switches
* from a user Thread to a system context.