X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/86d935381102a754c13fa29bbd767eda281d7207..5c4a15f9e0deda141e4563040b168cfd42967bc9:/doc/doxygen/FAQ.doc diff --git a/doc/doxygen/FAQ.doc b/doc/doxygen/FAQ.doc index cce950bad5..15a35ec156 100644 --- a/doc/doxygen/FAQ.doc +++ b/doc/doxygen/FAQ.doc @@ -266,8 +266,8 @@ create 3 SD_tasks: t1, t2 and c and add dependencies in the following way: \code -SD_task_dependency_add(NULL, NULL, t1, c); -SD_task_dependency_add(NULL, NULL, c, t2); +SD_task_dependency_add(t1, c); +SD_task_dependency_add(c, t2); \endcode This way task t2 cannot start before the termination of communication c