aboutsummaryrefslogtreecommitdiff
path: root/include/multiprocessing.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/multiprocessing.h')
-rw-r--r--include/multiprocessing.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/multiprocessing.h b/include/multiprocessing.h
index f0e6e5c..e4ddfdf 100644
--- a/include/multiprocessing.h
+++ b/include/multiprocessing.h
@@ -63,7 +63,7 @@ struct MultiProcessingPool {
* // handle task creation error
* }
* }
- * if (mp_pool_join(mp, get_cpu_count())) {
+ * if (mp_pool_join(mp, get_cpu_count(), MP_POOL_FAIL_FAST)) {
* // handle pool execution error
* }
* mp_pool_free(&mp);