[mpich2-commits] r7843 - mpich2/trunk/src/mpid/ch3/channels/nemesis/src
buntinas at mcs.anl.gov
buntinas at mcs.anl.gov
Wed Jan 26 13:58:22 CST 2011
Author: buntinas
Date: 2011-01-26 13:58:22 -0600 (Wed, 26 Jan 2011)
New Revision: 7843
Modified:
mpich2/trunk/src/mpid/ch3/channels/nemesis/src/ch3_progress.c
Log:
Remove code to replace the signal handler on exit. Removing the signal handler can cause the process to abort if it receives a signal after finalize but before it terminates.
Modified: mpich2/trunk/src/mpid/ch3/channels/nemesis/src/ch3_progress.c
===================================================================
--- mpich2/trunk/src/mpid/ch3/channels/nemesis/src/ch3_progress.c 2011-01-26 18:49:39 UTC (rev 7842)
+++ mpich2/trunk/src/mpid/ch3/channels/nemesis/src/ch3_progress.c 2011-01-26 19:58:22 UTC (rev 7843)
@@ -834,16 +834,6 @@
MPIDI_FUNC_ENTER(MPID_STATE_MPIDI_CH3I_PROGRESS_FINALIZE);
-#ifdef HAVE_SIGNAL
- {
- /* replace signal handler */
- void *ret;
-
- ret = signal(SIGUSR1, prev_sighandler);
- MPIU_ERR_CHKANDJUMP1(ret == SIG_ERR, mpi_errno, MPI_ERR_OTHER, "**signal", "**signal %s", MPIU_Strerror(errno));
- }
-#endif
-
while(qn_head) {
ent = qn_head->next;
MPIU_Free(qn_head);
More information about the mpich2-commits
mailing list