Ignore:
Timestamp:
Aug 28, 2020, 2:17:36 PM (16 months ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
arm-eh, jacob/cs343-translation, master, new-ast-unique-expr
Children:
56c44dc
Parents:
d11d6eb
Message:

Every worker now does it's own accept.

File:
1 edited

Legend:

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

    rd11d6eb r8e3034d  
    1717thread Worker {
    1818        int pipe[2];
    19 };
    20 void ?{}( Worker & this );
    21 void main( Worker & );
    22 
    23 //=============================================================================================
    24 // Acceptor Thread
    25 //=============================================================================================
    26 thread Acceptor {
    2719        int sockfd;
    2820        struct sockaddr * addr;
     
    3022        int flags;
    3123};
    32 
    33 void ?{}( Acceptor & this, int sockfd, struct sockaddr * addr, socklen_t * addrlen, int flags );
    34 void main( Acceptor & this );
     24void ?{}( Worker & this);
     25void main( Worker & );
Note: See TracChangeset for help on using the changeset viewer.