Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
use -1 as default kill time to make sure that our process don't get killed on startup
[simgrid.git] / src / jmsg.c
index 31ae4d6..997dfd0 100644 (file)
@@ -110,7 +110,7 @@ Java_org_simgrid_msg_MsgNative_processCreate(JNIEnv * env, jclass cls,
                                                (xbt_main_func_t) jprocess,
                                                /*data*/ NULL,
                                                host,
                                                (xbt_main_func_t) jprocess,
                                                /*data*/ NULL,
                                                host,
-                                               /*kill_time*/0.,
+                                               /* kill_time */-1,
                                                /*argc, argv, properties*/
                                                0,NULL,NULL);
      
                                                /*argc, argv, properties*/
                                                0,NULL,NULL);