From 3bbfb76b6430ede315ea9fe4d8019e175ba9e84a Mon Sep 17 00:00:00 2001 From: Hope Casey-Allen Date: Tue, 19 Nov 2019 14:44:30 -0800 Subject: [PATCH] Add comment about thread safety --- include/grpcpp/impl/codegen/server_context_impl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/grpcpp/impl/codegen/server_context_impl.h b/include/grpcpp/impl/codegen/server_context_impl.h index 7e2a5720199..5dc38137860 100644 --- a/include/grpcpp/impl/codegen/server_context_impl.h +++ b/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