Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
core/logging: Fix data race on log_prefix
In ofi_get_core_info, which is supposed to be thread safe ("Multiple threads may call fi_getinfo simultaneously, without any requirement for serialization."), a global variable 'log_prefix' is modified, which may lead to a data race. Changing the variable to a thread local one, fixes that problem. Signed-off-by: Dariusz Sciebura <[email protected]>
- Loading branch information