Преглед на файлове

Document STARPU_TASK_INITIALIZER

Cédric Augonnet преди 15 години
родител
ревизия
d99af315c6
променени са 1 файла, в които са добавени 2 реда и са изтрити 1 реда
  1. 2 1
      doc/starpu.texi

+ 2 - 1
doc/starpu.texi

@@ -839,7 +839,8 @@ result in undefined behaviour.
 Initialize a task structure with default values. This function is implicitely
 called by @code{starpu_task_create}. By default, tasks initialized with
 @code{starpu_task_init} must be deinitialized explicitely with
-@code{starpu_task_deinit}.
+@code{starpu_task_deinit}. Tasks can also be initialized statically, using the
+constant @code{STARPU_TASK_INITIALIZER}.
 @item @emph{Prototype}:
 @code{void starpu_task_init(struct starpu_task *task);}
 @end table