# How can I arrange to only use @threads if the number of iteration is higher than minimum?

**URL:** <https://discourse.julialang.org/t/how-can-i-arrange-to-only-use-threads-if-the-number-of-iteration-is-higher-than-minimum/68177>\
**Category:** Performance\
**Tags:** multithreading\
**Created:** [September 14, 2021, 10:34pm UTC](https://discourse.julialang.org/t/how-can-i-arrange-to-only-use-threads-if-the-number-of-iteration-is-higher-than-minimum/68177 "2021-09-14T22:34:59Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![Amro](https://avatars.discourse-cdn.com/v4/letter/a/4491bb/32.png) [@Amro](https://discourse.julialang.org/u/Amro)\
**Post date:** [September 16, 2021, 6:30pm UTC](https://discourse.julialang.org/t/how-can-i-arrange-to-only-use-threads-if-the-number-of-iteration-is-higher-than-minimum/68177/5 "2021-09-16T18:30:23Z")

</div>

> [@Conditional Multithreading](https://discourse.julialang.org/t/conditional-multithreading/32421/1):
>
> incurs

Thank you for sharing, but the useful link was removed.

---

_[View the full topic](https://discourse.julialang.org/t/how-can-i-arrange-to-only-use-threads-if-the-number-of-iteration-is-higher-than-minimum/68177)._
