Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
Grpc
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
tci-gateway-module
Grpc
Commits
23aff2e0
Commit
23aff2e0
authored
8 years ago
by
Craig Tiller
Browse files
Options
Downloads
Patches
Plain Diff
Improve comment
parent
255dad36
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/core/lib/iomgr/combiner.h
+6
-4
6 additions, 4 deletions
src/core/lib/iomgr/combiner.h
with
6 additions
and
4 deletions
src/core/lib/iomgr/combiner.h
+
6
−
4
View file @
23aff2e0
...
@@ -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
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment