X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/b8ba0bc2f48c6b9b96dfedd8fd383b941d5fdd0b..621e3b159443376a40ff174a1a30815bf265c0ac:/src/gras/Virtu/sg_process.c diff --git a/src/gras/Virtu/sg_process.c b/src/gras/Virtu/sg_process.c index ea7e0f5492..b5244179d0 100644 --- a/src/gras/Virtu/sg_process.c +++ b/src/gras/Virtu/sg_process.c @@ -29,7 +29,7 @@ void gras_agent_spawn(const char *name, smx_process_t process; simcall_process_create(&process, name, code, NULL, - gras_os_myname(), argc, argv, properties); + gras_os_myname(), -1.0, argc, argv, properties); } /* ************************************************************************** @@ -105,7 +105,7 @@ void gras_process_exit() unsigned int cpt; s_gras_msg_t msg; XBT_WARN - ("process %d terminated, but %ld messages are still queued. Message list:", + ("process %d terminated, but %lu messages are still queued. Message list:", gras_os_getpid(), xbt_dynar_length(msg_pd->msg_queue)); xbt_dynar_foreach(msg_pd->msg_queue, cpt, msg) { XBT_WARN(" Message %s (%s) from %s@%s:%d", msg.type->name, @@ -211,12 +211,8 @@ xbt_dict_t gras_os_host_properties(void) * (these functions are called by the stuff generated by gras_stub_generator) * **************************************************************************/ -XBT_LOG_EXTERNAL_CATEGORY(gras_trp); -XBT_LOG_EXTERNAL_CATEGORY(gras_trp_sg); - void gras_global_init(int *argc, char **argv) { - XBT_LOG_CONNECT(gras_trp_sg, gras_trp); SIMIX_global_init(argc, argv); }