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
096d6a6b
Commit
096d6a6b
authored
8 years ago
by
Craig Tiller
Browse files
Options
Downloads
Plain Diff
Merge branch 'grand-unified-closures' into direct-calls
parents
02b87cda
78dc25e8
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/core/lib/iomgr/combiner.h
+1
-1
1 addition, 1 deletion
src/core/lib/iomgr/combiner.h
src/core/lib/support/mpscq.c
+1
-1
1 addition, 1 deletion
src/core/lib/support/mpscq.c
with
2 additions
and
2 deletions
src/core/lib/iomgr/combiner.h
+
1
−
1
View file @
096d6a6b
...
@@ -55,7 +55,7 @@ void grpc_combiner_execute(grpc_exec_ctx *exec_ctx, grpc_combiner *lock,
...
@@ -55,7 +55,7 @@ void grpc_combiner_execute(grpc_exec_ctx *exec_ctx, grpc_combiner *lock,
grpc_closure
*
closure
,
grpc_error
*
error
,
grpc_closure
*
closure
,
grpc_error
*
error
,
bool
covered_by_poller
);
bool
covered_by_poller
);
// 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 true, the combiner
is
tries to hand execution to
// if \a hint_async_break is true, the combiner tries to hand execution to
// another thread before finishing the primary queue of combined closures and
// another thread before finishing the primary queue of combined closures and
// executing the finally list.
// executing the finally list.
// Deprecation warning: \a hint_async_break will be removed in a future version
// Deprecation warning: \a hint_async_break will be removed in a future version
...
...
This diff is collapsed.
Click to expand it.
src/core/lib/support/mpscq.c
+
1
−
1
View file @
096d6a6b
...
@@ -50,7 +50,7 @@ void gpr_mpscq_push(gpr_mpscq *q, gpr_mpscq_node *n) {
...
@@ -50,7 +50,7 @@ void gpr_mpscq_push(gpr_mpscq *q, gpr_mpscq_node *n) {
gpr_atm_no_barrier_store
(
&
n
->
next
,
(
gpr_atm
)
NULL
);
gpr_atm_no_barrier_store
(
&
n
->
next
,
(
gpr_atm
)
NULL
);
gpr_mpscq_node
*
prev
=
gpr_mpscq_node
*
prev
=
(
gpr_mpscq_node
*
)
gpr_atm_full_xchg
(
&
q
->
head
,
(
gpr_atm
)
n
);
(
gpr_mpscq_node
*
)
gpr_atm_full_xchg
(
&
q
->
head
,
(
gpr_atm
)
n
);
gpr_atm_
no_barrier
_store
(
&
prev
->
next
,
(
gpr_atm
)
n
);
gpr_atm_
rel
_store
(
&
prev
->
next
,
(
gpr_atm
)
n
);
}
}
gpr_mpscq_node
*
gpr_mpscq_pop
(
gpr_mpscq
*
q
)
{
gpr_mpscq_node
*
gpr_mpscq_pop
(
gpr_mpscq
*
q
)
{
...
...
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