ompi icon indicating copy to clipboard operation
ompi copied to clipboard

interlib: fix thread safety issue

Open ggouaillardet opened this issue 2 months ago • 2 comments

getenv() is not thread-safe so it should not be invoked within a callback subroutine. So read the environment at initialization and cache the result.

Thanks Zdeněk Salvet for reporting this issue.

Refs #13428

ggouaillardet avatar Oct 10 '25 07:10 ggouaillardet