X-Git-Url: http://plrg.eecs.uci.edu/git/?p=c11tester.git;a=blobdiff_plain;f=threads.cc;h=67f681ca7052538afb794ff87bb9708ff3655daa;hp=56942f5f7d277ac12c00dc17ba4bc9ff3e31aa75;hb=fa4c0d65d9c72d08d28e604a3eaa2fd82a9c6b20;hpb=c56ca6ef155dc69125bfc53bf9893016b699a0c2 diff --git a/threads.cc b/threads.cc index 56942f5f..67f681ca 100644 --- a/threads.cc +++ b/threads.cc @@ -86,11 +86,6 @@ int Thread::create_context() 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.