- Timestamp:
- Mar 1, 2016, 11:34:48 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ohana.20160226/src/opihi/dvo/mmatch.c
r39360 r39419 14 14 int VERBOSE; 15 15 char name[1024]; 16 void *Signal;17 16 float RADIUS; 18 17 … … 237 236 238 237 // grab data from all selected sky regions 239 Signal = signal (SIGINT, handle_interrupt); 240 interrupt = FALSE; 238 struct sigaction *old_sigaction = SetInterrupt(); 241 239 for (i = 0; (i < skylist[0].Nregions) && !interrupt; i++) { 242 240 … … 331 329 dvo_catalog_free (&catalog); 332 330 } 333 signal (SIGINT, Signal); 334 interrupt = FALSE; 331 ClearInterrupt (old_sigaction); 335 332 336 333 for (n = 0; n < Nfields; n++) {
Note:
See TracChangeset
for help on using the changeset viewer.
