X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/38c3cacc59c898c2fc9238fe9cde6abccddef572..9e1811782fa6f0ee089cd4680b3fd1198ee95a3e:/include/simgrid/simix.h diff --git a/include/simgrid/simix.h b/include/simgrid/simix.h index b99a048420..f1d989fd73 100644 --- a/include/simgrid/simix.h +++ b/include/simgrid/simix.h @@ -164,7 +164,7 @@ typedef struct s_smx_context { void *data; /* Here SIMIX stores the smx_process_t containing the context */ char **argv; int argc; - int iwannadie:1; + unsigned iwannadie:1; } s_smx_ctx_base_t; /* methods of this class */ @@ -332,6 +332,7 @@ XBT_PUBLIC(smx_host_t) simcall_process_get_host(smx_process_t process); XBT_PUBLIC(const char *) simcall_process_get_name(smx_process_t process); XBT_PUBLIC(int) simcall_process_is_suspended(smx_process_t process); XBT_PUBLIC(xbt_dict_t) simcall_process_get_properties(smx_process_t host); +XBT_PUBLIC(void) simcall_process_set_kill_time(smx_process_t process, double kill_time); /* Sleep control */ XBT_PUBLIC(e_smx_state_t) simcall_process_sleep(double duration);