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
protect this file against multiple inclusions to fix supernovae (oops)
[simgrid.git]
/
src
/
gras
/
Virtu
/
virtu_private.h
diff --git
a/src/gras/Virtu/virtu_private.h
b/src/gras/Virtu/virtu_private.h
index 4171d2e425a3f155d846e0589281dea5ea871e07..315214c046bec110ce4e3dd14c6f10d42692640c 100644
(file)
--- a/
src/gras/Virtu/virtu_private.h
+++ b/
src/gras/Virtu/virtu_private.h
@@
-1,10
+1,9
@@
-/* $Id$ */
-
/* virtu[alization] - speciafic parts for each OS and for SG */
/* module's private interface. */
/* virtu[alization] - speciafic parts for each OS and for SG */
/* module's private interface. */
-/* Copyright (c) 2004 Martin Quinson. All rights reserved. */
+/* Copyright (c) 2005, 2006, 2007, 2008, 2009, 2010. The SimGrid Team.
+ * All rights reserved. */
/* This program is free software; you can redistribute it and/or modify it
* under the terms of the license (GNU LGPL) which comes with this package. */
/* This program is free software; you can redistribute it and/or modify it
* under the terms of the license (GNU LGPL) which comes with this package. */
@@
-28,20
+27,21
@@
typedef struct {
* This is the old interface, and will disapear before 3.2
*/
xbt_set_t libdata;
* This is the old interface, and will disapear before 3.2
*/
xbt_set_t libdata;
-
+
/* data specific to each process for each module.
* Registered with gras_module_add(), retrieved with gras_moddata_get()
* This is the new interface
*/
xbt_dynar_t moddata;
/* data specific to each process for each module.
* Registered with gras_module_add(), retrieved with gras_moddata_get()
* This is the new interface
*/
xbt_dynar_t moddata;
-
- int pid; /* pid of process, only for SG */
- int ppid; /* ppid of process, only for SG */
- gras_msg_listener_t listener;
+
+ int pid; /* pid of process, only for SG */
+ int ppid; /* ppid of process, only for SG */
+
+ gras_msg_listener_t listener; /* the thread in charge of the incomming communication for this process */
} gras_procdata_t;
gras_procdata_t *gras_procdata_get(void);
} gras_procdata_t;
gras_procdata_t *gras_procdata_get(void);
-void *gras_libdata_by_name_from_procdata(const char *name,
gras_procdata_t* pd);
-
-
-#endif /* GRAS_VIRTU_PRIVATE_H */
+void *gras_libdata_by_name_from_procdata(const char *name,
+ gras_procdata_t * pd);
+
+#endif
/* GRAS_VIRTU_PRIVATE_H */