Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Add a link from the documentation down to the relevant tutorial section
[simgrid.git] / include / gras / process.h
index e67941a..43ead0c 100644 (file)
 #define GRAS_PROCESS_H
 
 #include "xbt/misc.h"  /* SG_BEGIN_DECL */
+#include "xbt/dict.h"
 
 SG_BEGIN_DECL()
 
+void gras_agent_spawn(const char *name, void *data, xbt_main_func_t code, int argc, char *argv[], xbt_dict_t properties);
+  
+  
 /****************************************************************************/
 /* Manipulating User Data                                                   */
 /****************************************************************************/
@@ -28,7 +32,10 @@ SG_BEGIN_DECL()
  * 
  * Use the \ref gras_userdata_new macro to create a new user data (or malloc it
  * and use \ref gras_userdata_set yourself), and \ref gras_userdata_get to
- * retrieve a reference to it. 
+ * retrieve a reference to it.
+ * 
+ * For more info on this, you may want to check the relevant lesson of the GRAS tutorial:
+ * \ref GRAS_tut_tour_globals
  */
 /* @{ */