diff options
author | 2015-02-03 22:44:13 -0800 | |
---|---|---|
committer | 2015-02-03 22:44:13 -0800 | |
commit | d6731628bcedbe150d4f7cd09656bd506979b00f (patch) | |
tree | 39141ff0d3cbb9b1dc1921b4dfa7d43f720a0c09 /src/core/surface/call.c | |
parent | 30fd935a4f3a55da6032a5a2278b9fb4b1ab37e9 (diff) |
Cleanup documentation
Diffstat (limited to 'src/core/surface/call.c')
-rw-r--r-- | src/core/surface/call.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/core/surface/call.c b/src/core/surface/call.c index f3b7636446..8221401a70 100644 --- a/src/core/surface/call.c +++ b/src/core/surface/call.c @@ -163,11 +163,12 @@ struct grpc_call { a request, and is valid iff request_set[op] <= GRPC_IOREQ_OP_COUNT. The set fields are as per the request type specified by op. - Finally, one element of masters[op] is set per active _group_ of ioreq + Finally, one element of masters is set per active _set_ of ioreq operations. It describes work left outstanding, result status, and what work to perform upon operation completion. As one ioreq of each op type can be active at once, by convention we choose the first element - of a the group to be the master. This allows constant time allocation + of the group to be the master -- ie the master of in-progress operation + op is masters[request_set[op]]. This allows constant time allocation and a strong upper bound of a count of masters to be calculated. */ gpr_uint8 request_set[GRPC_IOREQ_OP_COUNT]; grpc_ioreq_data request_data[GRPC_IOREQ_OP_COUNT]; |