Changeset 39457 for trunk/Ohana/src/opihi/dvo/mmextract.c
- Timestamp:
- Mar 11, 2016, 10:23:42 PM (10 years ago)
- Location:
- trunk/Ohana
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
src/opihi/dvo/mmextract.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana
-
Property svn:mergeinfo
set to
/branches/eam_branches/ohana.20160226 merged eligible
-
Property svn:mergeinfo
set to
-
trunk/Ohana/src/opihi/dvo/mmextract.c
r38471 r39457 6 6 off_t i, j, k, m; 7 7 int n, N, Npts, NPTS, last, next, state; 8 int Nfields, Nreturn, Nreturn_base, N cstack1, Ncstack2, Nstack1, Nstack2;8 int Nfields, Nreturn, Nreturn_base, Nstack1, Nstack2; 9 9 int Nwhere, Iwhere, Nmatch, Imatch, NTABLE, Nt1, Nt2, n1, n2; 10 10 int Nsecfilt, VERBOSE, loadImages; 11 11 char **cstack1, **cstack2, name1[1024], name2[1024]; 12 12 dbValue *values, **table1, **table2; 13 void *Signal;14 13 15 14 Catalog catalog; … … 102 101 103 102 // parse the 'where' and 'matched to' segments of the line as boolean math expressions 103 unsigned int Ncstack1, Ncstack2; 104 104 cstack1 = isolate_elements (Nwhere, &argv[Iwhere], &Ncstack1); 105 105 cstack2 = isolate_elements (Nmatch, &argv[Imatch], &Ncstack2); … … 178 178 179 179 // grab data from all selected sky regions 180 Signal = signal (SIGINT, handle_interrupt);181 interrupt = FALSE; 180 struct sigaction *old_sigaction = SetInterrupt(); 181 182 182 for (i = 0; (i < skylist[0].Nregions) && !interrupt; i++) { 183 183 /* lock, load, unlock catalog */ … … 286 286 // dbStackFreeReset (); 287 287 } 288 signal (SIGINT, Signal); 289 interrupt = FALSE; 288 ClearInterrupt (old_sigaction); 290 289 291 290 // free excess memory
Note:
See TracChangeset
for help on using the changeset viewer.
