Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • benchmark/io/http/main.cfa

    r329e26a r32d1383  
    163163        {
    164164                int pipe_cnt = options.clopts.nworkers * 2;
     165                // int pipe_cnt = 0;
    165166                int pipe_off;
    166167                int * fds;
     
    302303                                        sout | "done";
    303304
     305                                        //===================
     306                                        // Close Files
     307                                        if( options.file_cache.path ) {
     308                                                sout | "Closing open files..." | nonl; flush( sout );
     309                                                close_cache();
     310                                                sout | "done";
     311                                        }
     312
    304313                                        sout | "Stopping accept threads..." | nonl; flush( sout );
    305314                                        for(i; nacceptors) {
     
    346355                                        }
    347356                                        sout | "done";
     357
     358                                        //===================
     359                                        // Close Files
     360                                        if( options.file_cache.path ) {
     361                                                sout | "Closing open files..." | nonl; flush( sout );
     362                                                close_cache();
     363                                                sout | "done";
     364                                        }
    348365
    349366                                        sout | "Stopping connection threads..." | nonl; flush( sout );
     
    386403        }
    387404        sout | "done";
    388 
    389         //===================
    390         // Close Files
    391         if( options.file_cache.path ) {
    392                 sout | "Closing open files..." | nonl; flush( sout );
    393                 close_cache();
    394                 sout | "done";
    395         }
    396405}
    397406
Note: See TracChangeset for help on using the changeset viewer.