A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Details of this changes:
[simgrid.git]
/
src
/
msg
/
private.h
diff --git
a/src/msg/private.h
b/src/msg/private.h
index
b7a62ba
..
9f95cee
100644
(file)
--- a/
src/msg/private.h
+++ b/
src/msg/private.h
@@
-21,6
+21,8
@@
#include "xbt/context.h"
#include "xbt/config.h"
#include "xbt/context.h"
#include "xbt/config.h"
+SG_BEGIN_DECL()
+
/**************** datatypes **********************************/
/* this structure represents a mailbox */
/**************** datatypes **********************************/
/* this structure represents a mailbox */
@@
-53,7
+55,7
@@
typedef struct simdata_task {
m_host_t source;
double priority;
double rate;
m_host_t source;
double priority;
double rate;
- int
using
;
+ int
refcount
;
/******* Parallel Tasks Only !!!! *******/
int host_nb;
smx_host_t *host_list;
/******* Parallel Tasks Only !!!! *******/
int host_nb;
smx_host_t *host_list;
@@
-95,7
+97,9
@@
typedef struct MSG_Global {
int session;
} s_MSG_Global_t, *MSG_Global_t;
int session;
} s_MSG_Global_t, *MSG_Global_t;
-extern MSG_Global_t msg_global;
+/*extern MSG_Global_t msg_global;*/
+XBT_PUBLIC_DATA(MSG_Global_t) msg_global;
+
/*************************************************************/
/*************************************************************/
@@
-119,5
+123,5
@@
void *_MSG_process_create_from_SIMIX(const char *name,
char * hostname, int argc, char **argv, xbt_dict_t properties);
void _MSG_process_kill_from_SIMIX(void *p);
char * hostname, int argc, char **argv, xbt_dict_t properties);
void _MSG_process_kill_from_SIMIX(void *p);
-
+SG_END_DECL()
#endif
#endif