# How to do Multithreading the right way?

**URL:** <https://discourse.julialang.org/t/how-to-do-multithreading-the-right-way/107044>\
**Category:** New to Julia\
**Tags:** question, multithreading\
**Created:** [December 2, 2023, 12:50pm UTC](https://discourse.julialang.org/t/how-to-do-multithreading-the-right-way/107044 "2023-12-02T12:50:12Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![PetrKryslUCSD](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/petrkryslucsd/32/215825_2.png) [@PetrKryslUCSD](https://discourse.julialang.org/u/PetrKryslUCSD)\
**Post date:** [December 2, 2023, 5:51pm UTC](https://discourse.julialang.org/t/how-to-do-multithreading-the-right-way/107044/2 "2023-12-02T17:51:25Z")

</div>

This thread has lots of good info.  
[PSA: Thread-local state is no longer recommended; Common misconceptions about threadid() and nthreads() - General Usage - Julia Programming Language (julialang.org)](https://discourse.julialang.org/t/psa-thread-local-state-is-no-longer-recommended-common-misconceptions-about-threadid-and-nthreads/101274/3)

---

_[View the full topic](https://discourse.julialang.org/t/how-to-do-multithreading-the-right-way/107044)._
