aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/grpc++
diff options
context:
space:
mode:
authorGravatar David Garcia Quintas <dgq@google.com>2016-02-22 17:49:45 -0800
committerGravatar David Garcia Quintas <dgq@google.com>2016-02-22 17:49:45 -0800
commit0160873273be3fb502f05d4349e074422f4addcb (patch)
tree0a032623149bdb07abac743a6a752e3a08f71527 /include/grpc++
parentef02fb9d6ffa9b0df265a100cdd6262515c6029d (diff)
PR comments addressed
Diffstat (limited to 'include/grpc++')
-rw-r--r--include/grpc++/alarm.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/grpc++/alarm.h b/include/grpc++/alarm.h
index 66904deb48..59988b8732 100644
--- a/include/grpc++/alarm.h
+++ b/include/grpc++/alarm.h
@@ -56,6 +56,10 @@ class Alarm : private GrpcLibrary {
/// Once the alarm expires (at \a deadline) or it's cancelled (see \a Cancel),
/// an event with tag \a tag will be added to \a cq. If the alarm expired, the
/// event's success bit will be true, false otherwise (ie, upon cancellation).
+ /// \internal We rely on the presence of \a cq for grpc initialization. If \a
+ /// cq were ever to be removed, a reference to a static
+ /// internal::GrpcLibraryInitializer instance would need to be introduced
+ /// here. \endinternal.
template <typename T>
Alarm(CompletionQueue* cq, const T& deadline, void* tag)
: tag_(tag),