Skip to content
Snippets Groups Projects
Commit 23aff2e0 authored by Craig Tiller's avatar Craig Tiller
Browse files

Improve comment

parent 255dad36
No related branches found
No related tags found
No related merge requests found
...@@ -54,14 +54,16 @@ void grpc_combiner_destroy(grpc_exec_ctx *exec_ctx, grpc_combiner *lock); ...@@ -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, void grpc_combiner_execute(grpc_exec_ctx *exec_ctx, grpc_combiner *lock,
grpc_closure *closure, grpc_error *error); grpc_closure *closure, grpc_error *error);
// Execute \a action within the lock just prior to unlocking. // Execute \a action within the lock just prior to unlocking.
// if \a hint_async_break is additionally set, the combiner is tries to trip // if \a hint_async_break is true, the combiner is tries to hand execution to
// through the workqueue between finishing the primary queue of combined // another thread before finishing the primary queue of combined closures and
// closures and executing the finally list. // 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 // 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, void grpc_combiner_execute_finally(grpc_exec_ctx *exec_ctx, grpc_combiner *lock,
grpc_closure *closure, grpc_error *error, grpc_closure *closure, grpc_error *error,
bool hint_async_break); bool hint_async_break);
// Deprecated: force the finally list execution onto another thread
void grpc_combiner_force_async_finally(grpc_combiner *lock); void grpc_combiner_force_async_finally(grpc_combiner *lock);
extern int grpc_combiner_trace; extern int grpc_combiner_trace;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment