X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/fd7e52924d8d7d01e13459ad8a490672c8ceeacb..226d3997c4e356a1935b7d51b310034b4833afb9:/include/simix/datatypes.h diff --git a/include/simix/datatypes.h b/include/simix/datatypes.h index f306ccc88d..b41e98944e 100644 --- a/include/simix/datatypes.h +++ b/include/simix/datatypes.h @@ -13,11 +13,6 @@ SG_BEGIN_DECL() -/* ****************************** File *********************************** */ -typedef struct s_smx_file *smx_file_t; - - - /* ******************************** Host ************************************ */ /** @defgroup m_datatypes_management_details Details on SIMIX datatypes */ /** @brief Host datatype @@ -51,22 +46,25 @@ typedef enum { typedef struct s_smx_timer* smx_timer_t; - /* ******************************** Synchro ************************************ */ typedef struct s_smx_mutex *smx_mutex_t; typedef struct s_smx_cond *smx_cond_t; typedef struct s_smx_sem *smx_sem_t; +/********************************** File *************************************/ +typedef struct s_smx_file *smx_file_t; +typedef struct s_smx_stat *smx_stat_t; + /********************************** Action *************************************/ typedef struct s_smx_action *smx_action_t; /* FIXME: replace by specialized action handlers */ /* ****************************** Process *********************************** */ -/** @brief Agent datatype +/** @brief Process datatype @ingroup m_datatypes_management - An agent may be defined as a code, with some private + A processt may be defined as a code, with some private data, executing in a location. \see m_process_management @{ */ @@ -79,9 +77,9 @@ typedef struct s_smx_process *smx_process_t; * The function must accept the following parameters: * void* process: the process created will be stored there * const char *name: a name for the object. It is for user-level information and can be NULL - * xbt_main_func_t code: is a function describing the behavior of the agent + * xbt_main_func_t code: is a function describing the behavior of the process * void *data: data a pointer to any data one may want to attach to the new object. - * smx_host_t host: the location where the new agent is executed + * smx_host_t host: the location where the new process is executed * int argc, char **argv: parameters passed to code * xbt_dict_t pros: properties */