IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Mar 1, 2016, 11:34:48 AM (10 years ago)
Author:
eugene
Message:

list unused parameters; replace old signal code with SetInterrupt, ClearInterrupt; fix unsigned / signed int inconsistencies

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ohana.20160226/src/opihi/dvo/avmatch.c

    r39360 r39419  
    1717  int VERBOSE;
    1818  char name[1024], *found;
    19   void *Signal;
    2019  float RADIUS;
    2120
     
    179178
    180179  // grab data from all selected sky regions
    181   Signal = signal (SIGINT, handle_interrupt);
    182   interrupt = FALSE;
     180  struct sigaction *old_sigaction = SetInterrupt();
    183181  for (i = 0; (i < skylist[0].Nregions) && !interrupt; i++) {
    184182
     
    253251    dvo_catalog_free (&catalog);
    254252  }
    255   signal (SIGINT, Signal);
    256   interrupt = FALSE;
     253  ClearInterrupt (old_sigaction);
    257254
    258255  // 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.