Ignore:
Timestamp:
Jun 8, 2022, 7:24:27 PM (2 years ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
ADT, ast-experimental, master, pthread-emulation, qualifiedEnum
Children:
137974ae
Parents:
bbf61838
Message:

Removed webserver feature to have multiple clusters (it never actually worked)

File:
1 edited

Legend:

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

    rbbf61838 r8c58e73  
    117117//=============================================================================================
    118118void ?{}( AcceptWorker & this ) {
    119         size_t cli = rand() % options.clopts.cltr_cnt;
    120         ((thread&)this){ "Server Worker Thread", *options.clopts.instance[cli], 64000 };
    121         options.clopts.thrd_cnt[cli]++;
     119        ((thread&)this){ "Server Worker Thread", *options.clopts.instance, 64000 };
     120        options.clopts.thrd_cnt++;
    122121        this.done = false;
    123122}
     
    151150//=============================================================================================
    152151void ?{}( ChannelWorker & this ) {
    153         size_t cli = rand() % options.clopts.cltr_cnt;
    154         ((thread&)this){ "Server Worker Thread", *options.clopts.instance[cli], 64000 };
    155         options.clopts.thrd_cnt[cli]++;
     152        ((thread&)this){ "Server Worker Thread", *options.clopts.instance, 64000 };
     153        options.clopts.thrd_cnt++;
    156154        this.done = false;
    157155}
     
    182180
    183181void ?{}( Acceptor & this ) {
    184         size_t cli = rand() % options.clopts.cltr_cnt;
    185         ((thread&)this){ "Server Worker Thread", *options.clopts.instance[cli], 64000 };
    186         options.clopts.thrd_cnt[cli]++;
     182        ((thread&)this){ "Server Worker Thread", *options.clopts.instance, 64000 };
     183        options.clopts.thrd_cnt++;
    187184        this.done = false;
    188185}
Note: See TracChangeset for help on using the changeset viewer.