- 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/mextract.c
r39360 r39419 25 25 26 26 off_t i, j, k, m; // used for counter averages and measures 27 int n, N, Npts, NPTS, last, next, state, Nfields, Nreturn, N cstack, Nstack;27 int n, N, Npts, NPTS, last, next, state, Nfields, Nreturn, Nstack; 28 28 int Nsecfilt, VERBOSE, loadImages; 29 29 char **cstack, name[1024]; 30 30 dbValue *values; 31 void *Signal;32 31 33 32 Catalog catalog; … … 115 114 116 115 // parse the remainder of the line as a boolean math expression 116 unsigned int Ncstack; 117 117 cstack = isolate_elements (argc-next, &argv[next], &Ncstack); 118 118 … … 217 217 218 218 // grab data from all selected sky regions 219 Signal = signal (SIGINT, handle_interrupt); 220 interrupt = FALSE; 221 222 // fprintf (stderr, "done setup..."); 219 struct sigaction *old_sigaction = SetInterrupt(); 223 220 224 221 for (i = 0; (i < skylist[0].Nregions) && !interrupt; i++) { … … 310 307 // dbStackFreeReset (); 311 308 } 312 signal (SIGINT, Signal);309 ClearInterrupt (old_sigaction); 313 310 interrupt = FALSE; 314 311
Note:
See TracChangeset
for help on using the changeset viewer.
