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
This is especially important for dmstat which is storing info back into it's own parameter file and especially when running in parallel. Since this is imported into the global scope, all the paralell threads are updating the same object. If you create separate objects for each parallel thread then no race condition.
This should help remove the need for so many new_pfiles_environemnt contexts.
The text was updated successfully, but these errors were encountered:
We should look at replacing the import of individual tools
ciao-contrib/ciao_contrib/_tools/specextract.py
Line 31 in 26981f4
with using
make_tool
in the places where they are used.This is especially important for
dmstat
which is storing info back into it's own parameter file and especially when running in parallel. Since this is imported into the global scope, all the paralell threads are updating the same object. If you create separate objects for each parallel thread then no race condition.This should help remove the need for so many
new_pfiles_environemnt
contexts.The text was updated successfully, but these errors were encountered: