File tree Expand file tree Collapse file tree 5 files changed +8
-4
lines changed Expand file tree Collapse file tree 5 files changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -92,7 +92,7 @@ class combiner {
92
92
93
93
So that explains how combiners work in general. In gRPC, there is
94
94
` start_batch(..., tag) ` and then work only gets activated by somebody
95
- calling ` cq::next ` which returns a tag. This gives and API-level
95
+ calling ` cq::next ` which returns a tag. This gives an API-level
96
96
guarantee that there will be a thread doing polling to actually make
97
97
work happen. However, some operations are not covered by a poller
98
98
thread, such as cancellation that doesn't have a completion. Other
@@ -128,12 +128,12 @@ tries to spray events onto as many threads as possible to get as much concurrenc
128
128
So ` offload ` really does:
129
129
130
130
```
131
- distributor .run(continue_from_while_loop);
131
+ workqueue .run(continue_from_while_loop);
132
132
break;
133
133
```
134
134
135
- This needs us to add another class variable for a ` distributor `
136
- (called a ` workqueue ` in the code ).
135
+ This needs us to add another class variable for a ` workqueue `
136
+ (which is really conceptually a distributor ).
137
137
138
138
```
139
139
workqueue::run(f) {
Original file line number Diff line number Diff line change @@ -764,6 +764,7 @@ INPUT = doc/PROTOCOL-HTTP2.md \
764
764
doc/PROTOCOL-WEB.md \
765
765
doc/binary-logging.md \
766
766
doc/c-style-guide.md \
767
+ doc/combiner-explainer.md \
767
768
doc/command_line_tool.md \
768
769
doc/compression.md \
769
770
doc/compression_cookbook.md \
Original file line number Diff line number Diff line change @@ -764,6 +764,7 @@ INPUT = doc/PROTOCOL-HTTP2.md \
764
764
doc/PROTOCOL-WEB.md \
765
765
doc/binary-logging.md \
766
766
doc/c-style-guide.md \
767
+ doc/combiner-explainer.md \
767
768
doc/command_line_tool.md \
768
769
doc/compression.md \
769
770
doc/compression_cookbook.md \
Original file line number Diff line number Diff line change @@ -764,6 +764,7 @@ INPUT = doc/PROTOCOL-HTTP2.md \
764
764
doc/PROTOCOL-WEB.md \
765
765
doc/binary-logging.md \
766
766
doc/c-style-guide.md \
767
+ doc/combiner-explainer.md \
767
768
doc/command_line_tool.md \
768
769
doc/compression.md \
769
770
doc/compression_cookbook.md \
Original file line number Diff line number Diff line change @@ -764,6 +764,7 @@ INPUT = doc/PROTOCOL-HTTP2.md \
764
764
doc/PROTOCOL-WEB.md \
765
765
doc/binary-logging.md \
766
766
doc/c-style-guide.md \
767
+ doc/combiner-explainer.md \
767
768
doc/command_line_tool.md \
768
769
doc/compression.md \
769
770
doc/compression_cookbook.md \
You can’t perform that action at this time.
0 commit comments