}
}
-void *ThreadContext::wrapper(void *param)
+void ThreadContext::wrapper(ThreadContext* context)
{
- ThreadContext* context = static_cast<ThreadContext*>(param);
Context::set_current(context);
#ifndef WIN32
#endif
XBT_DEBUG("Terminating");
Context::set_current(nullptr);
- return nullptr;
}
void ThreadContext::release()