diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/grpc/grpc.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/include/grpc/grpc.h b/include/grpc/grpc.h index 1f5a8617df..63af727338 100644 --- a/include/grpc/grpc.h +++ b/include/grpc/grpc.h @@ -335,8 +335,7 @@ grpc_completion_queue *grpc_completion_queue_create(void); /* Blocks until an event is available, the completion queue is being shut down, or deadline is reached. Returns NULL on timeout, otherwise the event that - occurred. Callers should call grpc_event_finish once they have processed - the event. + occurred. Callers must not call grpc_completion_queue_next and grpc_completion_queue_pluck simultaneously on the same completion queue. */ @@ -345,8 +344,7 @@ grpc_event grpc_completion_queue_next(grpc_completion_queue *cq, /* Blocks until an event with tag 'tag' is available, the completion queue is being shutdown or deadline is reached. Returns NULL on timeout, or a pointer - to the event that occurred. Callers should call grpc_event_finish once they - have processed the event. + to the event that occurred. Callers must not call grpc_completion_queue_next and grpc_completion_queue_pluck simultaneously on the same completion queue. */ |