diff options
author | Joseph Hunkeler <jhunkeler@gmail.com> | 2024-09-13 14:44:09 -0400 |
---|---|---|
committer | Joseph Hunkeler <jhunkeler@gmail.com> | 2024-09-18 23:07:13 -0400 |
commit | 8573ad716839caf34a2c9c016d5ffbcbaab5ba2e (patch) | |
tree | 8e01b033d6783da764a98616d24eeb96ecdd4bd8 | |
parent | da8196e280c9c1306fd50c77427c912182f9c274 (diff) | |
download | stasis-8573ad716839caf34a2c9c016d5ffbcbaab5ba2e.tar.gz |
Fix mp_pool_join example
-rw-r--r-- | include/multiprocessing.h | 2 |
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); |