# 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:** 4

<div class="post-metadata">

**Author:** ![Salmon](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/salmon/32/22968_2.png) [@Salmon](https://discourse.julialang.org/u/Salmon)\
**Post date:** [April 26, 2023, 9:27am UTC](https://discourse.julialang.org/t/multi-threaded-code-with-dynamic-scheduler-and-mutable-data/97887/4 "2023-04-26T09:27:11Z")

</div>

regarding the use of Channels, let me link to this [Post](https://discourse.julialang.org/t/floops-init-allocate-only-once/93500/13), which has a nice code example that pretty much directly applies to what you are trying to do here

---

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