Changeset 7a80113 for benchmark/io/http/worker.hfa
- Timestamp:
- Sep 22, 2020, 11:29:12 AM (4 years ago)
- Branches:
- ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast-unique-expr, pthread-emulation, qualifiedEnum
- Children:
- 0a945fd
- Parents:
- 1c507eb (diff), 08f3ad3 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
benchmark/io/http/worker.hfa
r1c507eb r7a80113 7 7 } 8 8 9 #include "channel.hfa"10 11 extern channel & wait_connect;12 13 9 //============================================================================================= 14 10 // Worker Thread … … 17 13 thread Worker { 18 14 int pipe[2]; 19 };20 void ?{}( Worker & this );21 void main( Worker & );22 23 //=============================================================================================24 // Acceptor Thread25 //=============================================================================================26 thread Acceptor {27 15 int sockfd; 28 16 struct sockaddr * addr; … … 30 18 int flags; 31 19 }; 32 33 void ?{}( Acceptor & this, int sockfd, struct sockaddr * addr, socklen_t * addrlen, int flags ); 34 void main( Acceptor & this ); 20 void ?{}( Worker & this); 21 void main( Worker & );
Note: See TracChangeset
for help on using the changeset viewer.