diff options
author | Craig Tiller <ctiller@google.com> | 2016-09-02 09:18:27 -0700 |
---|---|---|
committer | Craig Tiller <ctiller@google.com> | 2016-09-02 09:18:27 -0700 |
commit | 23aff2e0cd188c0ce6e7949a1b0ff253e3eebf8f (patch) | |
tree | 0c3a1e00b3217114667a373528b11e0c474abe84 | |
parent | 255dad36304c65ea418ed17e5c4713d91c1b2531 (diff) |
Improve comment
-rw-r--r-- | src/core/lib/iomgr/combiner.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/core/lib/iomgr/combiner.h b/src/core/lib/iomgr/combiner.h index 3eb9f34638..57df8f0ba8 100644 --- a/src/core/lib/iomgr/combiner.h +++ b/src/core/lib/iomgr/combiner.h @@ -54,14 +54,16 @@ void grpc_combiner_destroy(grpc_exec_ctx *exec_ctx, grpc_combiner *lock); void grpc_combiner_execute(grpc_exec_ctx *exec_ctx, grpc_combiner *lock, grpc_closure *closure, grpc_error *error); // Execute \a action within the lock just prior to unlocking. -// if \a hint_async_break is additionally set, the combiner is tries to trip -// through the workqueue between finishing the primary queue of combined -// closures and executing the finally list. +// if \a hint_async_break is true, the combiner is tries to hand execution to +// another thread before finishing the primary queue of combined closures and +// executing the finally list. +// Deprecation warning: \a hint_async_break will be removed in a future version // Takes a very slow and round-about path if not called from a -// grpc_combiner_execute closure +// grpc_combiner_execute closure. void grpc_combiner_execute_finally(grpc_exec_ctx *exec_ctx, grpc_combiner *lock, grpc_closure *closure, grpc_error *error, bool hint_async_break); +// Deprecated: force the finally list execution onto another thread void grpc_combiner_force_async_finally(grpc_combiner *lock); extern int grpc_combiner_trace; |