# How do I parallelize a while loop?

**URL:** <https://discourse.julialang.org/t/how-do-i-parallelize-a-while-loop/99053>\
**Category:** General Usage\
**Tags:** multithreading\
**Created:** [May 18, 2023, 11:40am UTC](https://discourse.julialang.org/t/how-do-i-parallelize-a-while-loop/99053 "2023-05-18T11:40:33Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![frylock](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/frylock/32/50213_2.png) [@frylock](https://discourse.julialang.org/u/frylock)\
**Post date:** [May 18, 2023, 12:14pm UTC](https://discourse.julialang.org/t/how-do-i-parallelize-a-while-loop/99053/2 "2023-05-18T12:14:07Z")

</div>

I’m not familiar with how, but SO had [a question similar to this](https://stackoverflow.com/questions/51459459/parallel-computing-in-julia-running-a-simple-for-loop-on-multiple-cores). There is an illuminating comment at the bottom by @ChrisRackauckas as well.

Also [here on this board](https://discourse.julialang.org/t/fastest-way-to-run-a-for-loop-in-parallel/52477/3).  
And a recent presentation at [UIC](http://homepages.math.uic.edu/~jan/mcs507/paralleljulia.pdf).

---

_[View the full topic](https://discourse.julialang.org/t/how-do-i-parallelize-a-while-loop/99053)._
