3 /* virtu[alization] - speciafic parts for each OS and for SG */
5 /* module's private interface. */
7 /* Copyright (c) 2004 Martin Quinson. All rights reserved. */
9 /* This program is free software; you can redistribute it and/or modify it
10 * under the terms of the license (GNU LGPL) which comes with this package. */
13 #ifndef GRAS_VIRTU_PRIVATE_H
14 #define GRAS_VIRTU_PRIVATE_H
16 #include "xbt/dynar.h"
17 #include "gras/Virtu/virtu_interface.h"
18 #include "simix/simix.h"
19 #include "gras/Msg/msg_private.h"
21 /** @brief Data for each process */
23 /* globals of the process */
26 /* data specific to each process for each module.
27 * Registered with gras_procdata_add(), retrieved with gras_libdata_get()
28 * This is the old interface, and will disapear before 3.2
32 /* data specific to each process for each module.
33 * Registered with gras_module_add(), retrieved with gras_moddata_get()
34 * This is the new interface
38 int pid; /* pid of process, only for SG */
39 int ppid; /* ppid of process, only for SG */
41 gras_msg_listener_t listener; /* the thread in charge of the incomming communication for this process */
44 gras_procdata_t *gras_procdata_get(void);
45 void *gras_libdata_by_name_from_procdata(const char *name, gras_procdata_t* pd);
47 #endif /* GRAS_VIRTU_PRIVATE_H */