1
1
Shintaro Iwasaki 69e8af536a mca/threads: fix tsd management
To suppress Valgrind warnings, opal_tsd_keys_destruct() needs to explicitly
release TSD values of the main thread.  However, they were not freed if keys are
created by non-main threads.  This patch fixes it.

This patch also optimizes allocation of opal_tsd_key_values by doubling its size
when count >= length instead of increasing the size by one.

Signed-off-by: Shintaro Iwasaki <siwasaki@anl.gov>
2020-03-27 10:16:03 -06:00
..
2020-03-27 10:15:45 -06:00
2020-02-27 11:30:00 -05:00
2020-03-27 10:16:03 -06:00
2018-12-18 14:37:04 -07:00
2020-03-27 10:15:45 -06:00
2020-03-27 10:15:45 -06:00
2020-03-27 10:15:45 -06:00
2015-06-23 20:59:57 -07:00