Note that @threads (or, explicitly, @threads :dynamic) isn’t the same as @sync @spawn. In particular, perhaps contrary to intuition, the former does not implement proper load balancing whereas the latter does. Check out my comment here.
2 Likes