Changeset e95a117 for benchmark/io/http/worker.cfa
- Timestamp:
- Jul 20, 2020, 10:23:32 AM (4 years ago)
- Branches:
- ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast, new-ast-unique-expr, pthread-emulation, qualifiedEnum
- Children:
- 289a21c
- Parents:
- 2ecbd7b
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
benchmark/io/http/worker.cfa
r2ecbd7b re95a117 33 33 void main( Worker & this ) { 34 34 CONNECTION: 35 while( int fd = take(wait_connect); fd >= 0) { 36 printf("New connection, waiting for requests\n"); 35 for() { 36 int fd = take(wait_connect); 37 if (fd < 0) break; 38 39 printf("New connection %d, waiting for requests\n", fd); 37 40 REQUEST: 38 41 for() { … … 105 108 } 106 109 107 110 printf("New connection accepted\n"); 108 111 put( wait_connect, ret ); 109 112 } 110 113 }
Note: See TracChangeset
for help on using the changeset viewer.