}
/**
- * Install signal handler for SIGSEGV. Check that nobody has already installed
- * its own handler. For example, the Java VM does this.
+ * Install signal handler for SIGSEGV. Check that nobody has already installed its own handler.
+ * Historically, the Java VM did that but this could maybe removed now that Java is gone (TODO)
*/
static void install_segvhandler()
{
}
#endif
- /* select the context factory to use to create the contexts */
- if (context::ContextFactory::initializer) { // Give Java a chance to hijack the factory mechanism
- instance_->set_context_factory(context::ContextFactory::initializer());
- return;
- }
/* use the factory specified by --cfg=contexts/factory:value */
for (auto const& [factory_name, factory] : context_factories)
if (context_factory_name == factory_name) {
XBT_ERROR(" (boost was disabled at compilation time on this machine -- check configure logs for details. Did you "
"install the libboost-context-dev package?)");
#endif
- XBT_ERROR(" thread: slow portability layer using pthreads as provided by gcc");
+ XBT_ERROR(" thread: slow portability layer using standard threads as provided by libstdc");
xbt_die("Please use a valid factory.");
}
}