X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/4f5b9e125ac4d5e4fc68290eabf29366318c37b2..a2c25e0bae01a59891fac21447f3210ba26302c5:/src/simix/smurf_private.h diff --git a/src/simix/smurf_private.h b/src/simix/smurf_private.h index c580320aac..251b40fd55 100644 --- a/src/simix/smurf_private.h +++ b/src/simix/smurf_private.h @@ -32,6 +32,8 @@ SIMIX_REQ_ENUM_ELEMENT(REQ_HOST_EXECUTION_SET_PRIORITY),\ SIMIX_REQ_ENUM_ELEMENT(REQ_HOST_EXECUTION_WAIT),\ SIMIX_REQ_ENUM_ELEMENT(REQ_PROCESS_CREATE),\ SIMIX_REQ_ENUM_ELEMENT(REQ_PROCESS_KILL),\ +SIMIX_REQ_ENUM_ELEMENT(REQ_PROCESS_KILLALL),\ +SIMIX_REQ_ENUM_ELEMENT(REQ_PROCESS_CLEANUP),\ SIMIX_REQ_ENUM_ELEMENT(REQ_PROCESS_CHANGE_HOST),\ SIMIX_REQ_ENUM_ELEMENT(REQ_PROCESS_SUSPEND),\ SIMIX_REQ_ENUM_ELEMENT(REQ_PROCESS_RESUME),\ @@ -117,7 +119,6 @@ SIMIX_REQ_LIST * \brief Represents a SIMIX request. */ typedef struct s_smx_req { - s_xbt_swag_hookup_t reqtable_hookup; e_smx_req_t call; smx_process_t issuer; @@ -227,8 +228,11 @@ typedef struct s_smx_req { struct { smx_process_t process; - const char *source; - const char *dest; + } process_cleanup; + + struct { + smx_process_t process; + smx_host_t dest; } process_change_host; struct { @@ -500,11 +504,7 @@ typedef struct s_smx_req { /******************************** General *************************************/ -void SIMIX_request_init(void); -void SIMIX_request_destroy(void); -xbt_swag_t SIMIX_request_get_reqlist(int thread_pid); void SIMIX_request_push(void); -smx_req_t SIMIX_request_pop(void); void SIMIX_request_answer(smx_req_t); void SIMIX_request_pre(smx_req_t, int); void SIMIX_request_post(smx_action_t);