ソースを参照

mention that dependent tasks might already be executing

Samuel Thibault 13 年 前
コミット
0f5a96e2ac
共有1 個のファイルを変更した4 個の追加3 個の削除を含む
  1. 4 3
      doc/chapters/basic-api.texi

+ 4 - 3
doc/chapters/basic-api.texi

@@ -1414,9 +1414,10 @@ codelets, where the @code{cl_arg} pointer is given as such.
 @item @code{void (*callback_func)(void *)} (optional) (default: @code{NULL})
 This is a function pointer of prototype @code{void (*f)(void *)} which
 specifies a possible callback. If this pointer is non-null, the callback
-function is executed @emph{on the host} after the execution of the task. The
-callback is passed the value contained in the @code{callback_arg} field. No
-callback is executed if the field is set to @code{NULL}.
+function is executed @emph{on the host} after the execution of the task. Tasks
+which depend on it might already be executing. The callback is passed the
+value contained in the @code{callback_arg} field. No callback is executed if the
+field is set to @code{NULL}.
 
 @item @code{void *callback_arg} (optional) (default: @code{NULL})
 This is the pointer passed to the callback function. This field is ignored if