regarding the use of Channels, let me link to this Post, which has a nice code example that pretty much directly applies to what you are trying to do here
Salmon
4
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Multithreading with dynamic scheduler | 10 | 1014 | August 19, 2020 | |
| Multithreading workflow - alternative for :static scheduling | 2 | 423 | September 15, 2022 | |
| Behavior of `Threads.@threads for` loop | 30 | 5350 | February 14, 2022 | |
| Multi-threading appears to be single thread when some threads cost much more time than the others? | 13 | 827 | July 10, 2023 | |
| Multithreading with shared memory caches | 27 | 2158 | June 13, 2023 |