It’s not only threads by the way: the same happens with async
.
The call syntax for the thread-safe executable product will be slightly different: instead of
command() do path
run(`$(path) ...`)
end
you’d do
run(`$(command()) ...`)
The old (thread-unsafe) syntax is always available, the new (thread-safe) one only in Julia v1.6+ (and that will become the preferred one in the future)
1 Like
And what about existing jll packages? Will they only have a way to call them thread/async-safely after explicit action, or some automatic process will happen?
All packages generated from Yggdrasil in the last 4-6 weeks have already this feature