You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Based on the warning in the Julia docs I think ideally all @async should be replaced with Threads.@spawn?
│ Warning
│
│ It is strongly encouraged to favor Threads.@spawn over @async always even when no parallelism is required especially in publicly distributed libraries. This is
│ because a use of @async disables the migration of the parent task across worker threads in the current implementation of Julia. Thus, seemingly innocent use of
│ @asyncin a library function can have a large impact on the performance of very different parts of user applications.
Malt.jl/src/worker.jl
Line 118 in 2629e58
Should this be
Threads.@spawn
?The text was updated successfully, but these errors were encountered: