Ignore:
Timestamp:
Aug 28, 2020, 3:34:01 PM (16 months ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
arm-eh, jacob/cs343-translation, master, new-ast-unique-expr
Children:
ce55a81
Parents:
8e3034d
Message:

Worker now each do their own accept4

File:
1 edited

Legend:

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

    r8e3034d r56c44dc  
    1515#include <thread.hfa>
    1616
    17 #include "channel.hfa"
    1817#include "filecache.hfa"
    1918#include "options.hfa"
     
    2928// Globals
    3029//=============================================================================================
    31 channel & wait_connect;
    32 
    3330struct ServerProc {
    3431        processor self;
     
    9693                #endif
    9794                options.clopts.instance = &cl;
    98 
    99                 channel chan = { options.clopts.chan_size };
    100                 &wait_connect = &chan;
    10195
    10296                int pipe_cnt = options.clopts.nworkers * 2;
Note: See TracChangeset for help on using the changeset viewer.