Ignore:
File:
1 edited

Legend:

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

    r32d1383 r329e26a  
    163163        {
    164164                int pipe_cnt = options.clopts.nworkers * 2;
    165                 // int pipe_cnt = 0;
    166165                int pipe_off;
    167166                int * fds;
     
    303302                                        sout | "done";
    304303
    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 
    313304                                        sout | "Stopping accept threads..." | nonl; flush( sout );
    314305                                        for(i; nacceptors) {
     
    355346                                        }
    356347                                        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                                         }
    365348
    366349                                        sout | "Stopping connection threads..." | nonl; flush( sout );
     
    403386        }
    404387        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        }
    405396}
    406397
Note: See TracChangeset for help on using the changeset viewer.