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
a6429df8
Commit
a6429df8
authored
7 years ago
by
Yuxuan Li
Browse files
Options
Downloads
Patches
Plain Diff
fix last merge
parent
37c2e6d7
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/core/lib/surface/completion_queue.c
+0
-18
0 additions, 18 deletions
src/core/lib/surface/completion_queue.c
with
0 additions
and
18 deletions
src/core/lib/surface/completion_queue.c
+
0
−
18
View file @
a6429df8
...
...
@@ -837,23 +837,15 @@ static grpc_event cq_next(grpc_completion_queue *cc, gpr_timespec deadline,
dump_pending_tags
(
cc
);
break
;
}
<<<<<<<
HEAD
/* The main polling work happens in grpc_pollset_work */
gpr_mu_lock
(
cqd
->
mu
);
cqd
->
num_polls
++
;
=======
cc
->
num_polls
++
;
>>>>>>>
21322
dec78b4c8db45a4bcd2919b4961b7d31a5c
grpc_error
*
err
=
cc
->
poller_vtable
->
work
(
&
exec_ctx
,
POLLSET_FROM_CQ
(
cc
),
NULL
,
now
,
iteration_deadline
);
gpr_mu_unlock
(
cqd
->
mu
);
if
(
err
!=
GRPC_ERROR_NONE
)
{
<<<<<<<
HEAD
=======
gpr_mu_unlock
(
cc
->
mu
);
>>>>>>>
21322
dec78b4c8db45a4bcd2919b4961b7d31a5c
const
char
*
msg
=
grpc_error_string
(
err
);
gpr_log
(
GPR_ERROR
,
"Completion queue next failed: %s"
,
msg
);
...
...
@@ -1033,25 +1025,15 @@ static grpc_event cq_pluck(grpc_completion_queue *cc, void *tag,
dump_pending_tags
(
cc
);
break
;
}
<<<<<<<
HEAD
cqd
->
num_polls
++
;
=======
cc
->
num_polls
++
;
>>>>>>>
21322
dec78b4c8db45a4bcd2919b4961b7d31a5c
grpc_error
*
err
=
cc
->
poller_vtable
->
work
(
&
exec_ctx
,
POLLSET_FROM_CQ
(
cc
),
&
worker
,
now
,
deadline
);
if
(
err
!=
GRPC_ERROR_NONE
)
{
del_plucker
(
cc
,
tag
,
&
worker
);
<<<<<<<
HEAD
gpr_mu_unlock
(
cqd
->
mu
);
const
char
*
msg
=
grpc_error_string
(
err
);
gpr_log
(
GPR_ERROR
,
"Completion queue pluck failed: %s"
,
msg
);
=======
gpr_mu_unlock
(
cc
->
mu
);
const
char
*
msg
=
grpc_error_string
(
err
);
gpr_log
(
GPR_ERROR
,
"Completion queue next failed: %s"
,
msg
);
>>>>>>>
21322
dec78b4c8db45a4bcd2919b4961b7d31a5c
GRPC_ERROR_UNREF
(
err
);
memset
(
&
ret
,
0
,
sizeof
(
ret
));
...
...
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