# Multi-threaded code with :dynamic scheduler and mutable data

**URL:** <https://discourse.julialang.org/t/multi-threaded-code-with-dynamic-scheduler-and-mutable-data/97887>\
**Category:** General Usage\
**Tags:** multithreading\
**Created:** [April 25, 2023, 6:33am UTC](https://discourse.julialang.org/t/multi-threaded-code-with-dynamic-scheduler-and-mutable-data/97887 "2023-04-25T06:33:26Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![lijas](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/lijas/32/20023_2.png) [@lijas](https://discourse.julialang.org/u/lijas)\
**Post date:** [April 26, 2023, 6:02am UTC](https://discourse.julialang.org/t/multi-threaded-code-with-dynamic-scheduler-and-mutable-data/97887/3 "2023-04-26T06:02:35Z")

</div>

Thanks! But it feels like that this is more complicated than what should be needed? 😅

Refining my google search a bit, I found this [post](https://discourse.julialang.org/t/pattern-for-managing-thread-local-storage/54023) which uses Channels instead. I have never used channels before, but it looks a bit simpler. I will try it out

It feels like my problem/questions would be a pretty common thing people would want to do, so I am a bit surprised that it is difficult to find information about it.

---

_[View the full topic](https://discourse.julialang.org/t/multi-threaded-code-with-dynamic-scheduler-and-mutable-data/97887)._
