Add comment about thread safety

pull/21255/head
Hope Casey-Allen 5 years ago
parent a579e04d5a
commit 3bbfb76b64
  1. 2
      include/grpcpp/impl/codegen/server_context_impl.h

@ -171,7 +171,7 @@ class ServerContext {
/// IsCancelled is always safe to call when using sync or callback API.
/// When using async API, it is only safe to call IsCancelled after
/// the AsyncNotifyWhenDone tag has been delivered.
/// the AsyncNotifyWhenDone tag has been delivered. Thread-safe.
bool IsCancelled() const;
/// Cancel the Call from the server. This is a best-effort API and

Loading…
Cancel
Save