IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 38625


Ignore:
Timestamp:
Jul 22, 2015, 6:15:18 PM (11 years ago)
Author:
eugene
Message:

protect the catalog I/O layer from signals which can be blocked (ie, allow kill to kill gracefully)

Location:
branches/eam_branches/ipp-20150625/Ohana/src/dvosplit/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20150625/Ohana/src/dvosplit/src/split_averages.c

    r38441 r38625  
    105105        outcatalogs[cat].catflags = DVO_LOAD_AVERAGE | DVO_LOAD_SECFILT;
    106106
     107        SetProtect (TRUE);
    107108        dvo_catalog_save (&outcatalogs[cat], VERBOSE);
     109        SetProtect (FALSE);
    108110        // fprintf (stderr, "secfilt: %d %d %d %d\n", outcatalogs[cat].Nsecfilt_mem, outcatalogs[cat].Nsecfilt_disk, outcatalogs[cat].Nsecfilt_off, outcatalogs[cat].Naverage, outcatalogs[cat].Nsecfilt);
    109111
  • branches/eam_branches/ipp-20150625/Ohana/src/dvosplit/src/split_measures.c

    r38441 r38625  
    7373      for (cat = 0; cat < outlist[0].Nregions; cat++) {
    7474        outcatalogs[cat].catflags = DVO_LOAD_MEASURE;
     75
     76        SetProtect (TRUE);
    7577        dvo_catalog_save (&outcatalogs[cat], VERBOSE);
     78        SetProtect (FALSE);
    7679
    7780        outcatalogs[cat].Nmeasure_disk += outcatalogs[cat].Nmeasure;
Note: See TracChangeset for help on using the changeset viewer.