Procházet zdrojové kódy

- fix documentation

Olivier Aumage před 13 roky
rodič
revize
23752a3c71
1 změnil soubory, kde provedl 3 přidání a 2 odebrání
  1. 3 2
      src/core/task_bundle.c

+ 3 - 2
src/core/task_bundle.c

@@ -157,8 +157,9 @@ int starpu_task_bundle_remove(struct starpu_task_bundle *bundle, struct starpu_t
 	return -ENOENT;
 }
 
-/* Close a bundle. No task can be added to a closed bundle. A closed bundle
- * automatically gets deinitialized when it becomes empty. */
+/* Close a bundle. No task can be added to a closed bundle. Tasks can still be
+ * removed from a closed bundle. A closed bundle automatically gets
+ * deinitialized when it becomes empty. A closed bundle cannot be reopened. */
 void starpu_task_bundle_close(struct starpu_task_bundle *bundle)
 {
 	_STARPU_PTHREAD_MUTEX_LOCK(&bundle->mutex);