Changeset 5649

Show
Ignore:
Timestamp:
10/31/09 13:12:56 (3 weeks ago)
Author:
balaji
Message:

Call the process cleanup directly instead of raising a signal and
expecting the signal handler to handle it (this is more reliable).

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • mpich2/trunk/src/pm/hydra/pm/pmiserv/pmi_serv_launch.c

    r5641 r5649  
    498498            /* If the timeout expired, raise a SIGINT and kill all the 
    499499             * processes */ 
    500             if (HYDU_time_left(HYD_handle.start, HYD_handle.timeout) == 0) 
    501                 raise(SIGINT); 
     500            if (HYDU_time_left(HYD_handle.start, HYD_handle.timeout) == 0) { 
     501                status = HYD_pmcd_pmi_serv_cleanup(); 
     502                HYDU_ERR_POP(status, "cleanup of processes failed\n"); 
     503            } 
    502504 
    503505            /* Check to see if there's any open read socket left; if