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
9eb47ada
Commit
9eb47ada
authored
10 years ago
by
Craig Tiller
Browse files
Options
Downloads
Patches
Plain Diff
Further fixes
parent
667ca409
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
include/grpc/grpc.h
+2
-4
2 additions, 4 deletions
include/grpc/grpc.h
src/core/surface/completion_queue.h
+0
-11
0 additions, 11 deletions
src/core/surface/completion_queue.h
src/python/src/grpc/_adapter/_completion_queue.c
+0
-1
0 additions, 1 deletion
src/python/src/grpc/_adapter/_completion_queue.c
with
2 additions
and
16 deletions
include/grpc/grpc.h
+
2
−
4
View file @
9eb47ada
...
@@ -335,8 +335,7 @@ grpc_completion_queue *grpc_completion_queue_create(void);
...
@@ -335,8 +335,7 @@ grpc_completion_queue *grpc_completion_queue_create(void);
/* Blocks until an event is available, the completion queue is being shut down,
/* Blocks until an event is available, the completion queue is being shut down,
or deadline is reached. Returns NULL on timeout, otherwise the event that
or deadline is reached. Returns NULL on timeout, otherwise the event that
occurred. Callers should call grpc_event_finish once they have processed
occurred.
the event.
Callers must not call grpc_completion_queue_next and
Callers must not call grpc_completion_queue_next and
grpc_completion_queue_pluck simultaneously on the same completion queue. */
grpc_completion_queue_pluck simultaneously on the same completion queue. */
...
@@ -345,8 +344,7 @@ grpc_event grpc_completion_queue_next(grpc_completion_queue *cq,
...
@@ -345,8 +344,7 @@ grpc_event grpc_completion_queue_next(grpc_completion_queue *cq,
/* Blocks until an event with tag 'tag' is available, the completion queue is
/* Blocks until an event with tag 'tag' is available, the completion queue is
being shutdown or deadline is reached. Returns NULL on timeout, or a pointer
being shutdown or deadline is reached. Returns NULL on timeout, or a pointer
to the event that occurred. Callers should call grpc_event_finish once they
to the event that occurred.
have processed the event.
Callers must not call grpc_completion_queue_next and
Callers must not call grpc_completion_queue_next and
grpc_completion_queue_pluck simultaneously on the same completion queue. */
grpc_completion_queue_pluck simultaneously on the same completion queue. */
...
...
This diff is collapsed.
Click to expand it.
src/core/surface/completion_queue.h
+
0
−
11
View file @
9eb47ada
...
@@ -46,17 +46,6 @@ void grpc_cq_internal_unref(grpc_completion_queue *cc);
...
@@ -46,17 +46,6 @@ void grpc_cq_internal_unref(grpc_completion_queue *cc);
shutdown until a corrensponding grpc_cq_end_* call is made */
shutdown until a corrensponding grpc_cq_end_* call is made */
void
grpc_cq_begin_op
(
grpc_completion_queue
*
cc
,
grpc_call
*
call
);
void
grpc_cq_begin_op
(
grpc_completion_queue
*
cc
,
grpc_call
*
call
);
/* grpc_cq_end_* functions pair with a grpc_cq_begin_op
grpc_cq_end_* common arguments:
cc - the completion channel to queue on
tag - the user supplied operation tag
on_finish - grpc_event_finish_func that is called during grpc_event_finish
can be NULL to not get a callback
user_data - user_data parameter to be passed to on_finish
Other parameters match the data member of grpc_event */
/* Queue a GRPC_OP_COMPLETED operation */
/* Queue a GRPC_OP_COMPLETED operation */
void
grpc_cq_end_op
(
grpc_completion_queue
*
cc
,
void
*
tag
,
grpc_call
*
call
,
void
grpc_cq_end_op
(
grpc_completion_queue
*
cc
,
void
*
tag
,
grpc_call
*
call
,
int
success
);
int
success
);
...
...
This diff is collapsed.
Click to expand it.
src/python/src/grpc/_adapter/_completion_queue.c
+
0
−
1
View file @
9eb47ada
...
@@ -440,7 +440,6 @@ static PyObject *pygrpc_completion_queue_get(CompletionQueue *self,
...
@@ -440,7 +440,6 @@ static PyObject *pygrpc_completion_queue_get(CompletionQueue *self,
if
(
tag
)
{
if
(
tag
)
{
pygrpc_tag_destroy
(
tag
);
pygrpc_tag_destroy
(
tag
);
}
}
grpc_event_finish
(
c_event
);
return
event
;
return
event
;
}
}
...
...
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