629b95a2fe
Fix race conditions in abnormal terminations. We had done a first-cut at this in a prior commit. However, the window remained partially open due to the fact that the HNP has multiple paths leading to orte_finalize. Most of our frameworks don't care if they are finalized more than once, but one of them does, which meant we segfaulted if orte_finalize got called more than once. Besides, we really shouldn't be doing that anyway. So we now introduce a set of atomic locks that prevent us from multiply calling abort, attempting to call orte_finalize, etc. My initial tests indicate this is working cleanly, but since it is a race condition issue, more testing will have to be done before we know for sure that this problem has been licked. Also, some updates relevant to the tool comm library snuck in here. Since those also touched the orted code (as did the prior changes), I didn't want to attempt to separate them out - besides, they are coming in soon anyway. More on them later as that functionality approaches completion. This commit was SVN r17843. |
||
---|---|---|
.. | ||
comm | ||
dash_host | ||
hostfile | ||
context_fns.c | ||
context_fns.h | ||
error_strings.c | ||
hnp_contact.c | ||
hnp_contact.h | ||
Makefile.am | ||
name_fns.c | ||
name_fns.h | ||
pre_condition_transports.c | ||
pre_condition_transports.h | ||
proc_info.c | ||
proc_info.h | ||
session_dir.c | ||
session_dir.h | ||
sys_info.c | ||
sys_info.h |