From: mquinson Date: Sat, 24 Jul 2004 20:16:16 +0000 (+0000) Subject: Begin a FAQ X-Git-Tag: v3.3~5013 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/31f768a16c34148b8d1a98650421d531b0d892f8 Begin a FAQ git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@335 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- diff --git a/cruft/doc/faq.sgml b/cruft/doc/faq.sgml new file mode 100644 index 0000000000..2a821d4e8f --- /dev/null +++ b/cruft/doc/faq.sgml @@ -0,0 +1,48 @@ + + +GRAS frequently asked questions +3 +GRAS Library + + + +FAQFAQ on the GRAS library + + + +Introduction +This document contains random bits about the most beloved traps of +GRAS users, and (hopefully) a way to escape them.. + + +My code segfault in the communication process + +Remember that GRAS expect the passed variable to match exactly the +passed type description. The most often issue is that you pass a structure +description, and you pass the address of a pointer to such a structure. If +you want to handle pointer to structures (as most of us do), please use +gras_datadesc_declare_ref() to construct the correct type description. + + + + + + + + diff --git a/cruft/doc/gras-docs.sgml b/cruft/doc/gras-docs.sgml index 5ca0b78dba..dd843ddb83 100644 --- a/cruft/doc/gras-docs.sgml +++ b/cruft/doc/gras-docs.sgml @@ -22,6 +22,7 @@ + ]> @@ -31,6 +32,7 @@ GRAS overview &overview; + &faq;