Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Merge remote-tracking branch 'origin/master'
[simgrid.git] / src / gras / Virtu / sg_process.c
index dc985ad..96773db 100644 (file)
@@ -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, 0);
 }
 
 /* **************************************************************************
@@ -213,7 +213,6 @@ xbt_dict_t gras_os_host_properties(void)
 
 void gras_global_init(int *argc, char **argv)
 {
-  XBT_LOG_CONNECT(gras_trp_sg, gras_trp);
   SIMIX_global_init(argc, argv);
 }
 
@@ -264,7 +263,5 @@ void gras_load_environment_script(const char *script_file)
   return;
 }
 
-void gras_clean()
-{
-  SIMIX_clean();
+void gras_clean(){ /* this function is not needed anymore and could be removed, but I feel so lazy */
 }