X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/3a1ea70a418f393ca1677074e928c664022295bd..db5adf7439201fb67d1d697b86806d58ace9fe85:/src/mc/Session.cpp diff --git a/src/mc/Session.cpp b/src/mc/Session.cpp index 0dd371035a..d29fbeb707 100644 --- a/src/mc/Session.cpp +++ b/src/mc/Session.cpp @@ -27,7 +27,7 @@ XBT_LOG_NEW_DEFAULT_SUBCATEGORY(mc_Session, mc, "Model-checker session"); namespace simgrid { namespace mc { -static void run_child_process(int socket, const std::function& code) +template void run_child_process(int socket, Code code) { /* On startup, simix_global_init() calls simgrid::mc::Client::initialize(), which checks whether the MC_ENV_SOCKET_FD * env variable is set. If so, MC mode is assumed, and the client is setup from its side @@ -66,7 +66,7 @@ Session::Session(const std::function& code) "Please use the dlopen privatization schema when model-checking SMPI code"); #endif - // Create a AF_LOCAL socketpair used for exchanging messages + // Create an AF_LOCAL socketpair used for exchanging messages // between the model-checker process (ourselves) and the model-checked // process: int sockets[2];