Ignore:
Timestamp:
Jun 10, 2022, 4:13:05 PM (2 years ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
ADT, ast-experimental, master, pthread-emulation, qualifiedEnum
Children:
329e26a
Parents:
c25338d
Message:

Moved printer and protocol thread to the main cluster

File:
1 edited

Legend:

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

    rc25338d rbf7c7ea  
    4141
    4242void ?{}( StatsPrinter & this, cluster & cl ) {
    43         ((thread&)this){ "Stats Printer Thread", cl };
    44 
     43        ((thread&)this){ "Stats Printer Thread" };
     44        &this.cl = &cl;
    4545        memset(&this.stats, 0, sizeof(this.stats));;
    4646}
     
    5959                wait(this.var, 10`s);
    6060
    61                 print_stats_now( *active_cluster(), CFA_STATS_READY_Q | CFA_STATS_IO );
     61                print_stats_now( this.cl, CFA_STATS_READY_Q | CFA_STATS_IO );
    6262                {
    6363                        struct {
Note: See TracChangeset for help on using the changeset viewer.