- 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/avmatch.c
r39360 r39419 17 17 int VERBOSE; 18 18 char name[1024], *found; 19 void *Signal;20 19 float RADIUS; 21 20 … … 179 178 180 179 // grab data from all selected sky regions 181 Signal = signal (SIGINT, handle_interrupt); 182 interrupt = FALSE; 180 struct sigaction *old_sigaction = SetInterrupt(); 183 181 for (i = 0; (i < skylist[0].Nregions) && !interrupt; i++) { 184 182 … … 253 251 dvo_catalog_free (&catalog); 254 252 } 255 signal (SIGINT, Signal); 256 interrupt = FALSE; 253 ClearInterrupt (old_sigaction); 257 254 258 255 // write vectors to a table (this is used by parallel dvo operations, but can be used elsewhere)
Note:
See TracChangeset
for help on using the changeset viewer.
