From 262ab9de64044cb37eff2ba4c47ae8d1d4f85203 Mon Sep 17 00:00:00 2001 From: Simon May Date: Wed, 2 Oct 2024 21:57:26 +0200 Subject: [PATCH] Add information that `@batch` waits to docstring Fixes #150 --- src/closure.jl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/closure.jl b/src/closure.jl index 04310c0..c8e3386 100644 --- a/src/closure.jl +++ b/src/closure.jl @@ -541,7 +541,8 @@ end """ @batch for i in Iter; ...; end -Evaluate the loop on multiple threads. +Evaluate the loop on multiple threads. The execution of the loop waits for the evaluation +of all iterations. @batch minbatch=N for i in Iter; ...; end