Ignore:
Timestamp:
Aug 28, 2020, 3:34:01 PM (4 years ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast-unique-expr, pthread-emulation, qualifiedEnum
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.