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
8698f2bb
Commit
8698f2bb
authored
7 years ago
by
Yuxuan Li
Browse files
Options
Downloads
Patches
Plain Diff
fix extern c location
parent
02d635bf
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
src/core/lib/surface/completion_queue.h
+8
-0
8 additions, 0 deletions
src/core/lib/surface/completion_queue.h
test/cpp/qps/client.h
+1
-4
1 addition, 4 deletions
test/cpp/qps/client.h
test/cpp/qps/server.h
+1
-4
1 addition, 4 deletions
test/cpp/qps/server.h
with
10 additions
and
8 deletions
src/core/lib/surface/completion_queue.h
+
8
−
0
View file @
8698f2bb
...
...
@@ -49,6 +49,10 @@ extern grpc_tracer_flag grpc_trace_operation_failures;
extern
grpc_tracer_flag
grpc_trace_pending_tags
;
#endif
#ifdef __cplusplus
extern
"C"
{
#endif
typedef
struct
grpc_cq_completion
{
gpr_mpscq_node
node
;
...
...
@@ -108,4 +112,8 @@ int grpc_get_cq_poll_num(grpc_completion_queue *cc);
grpc_completion_queue
*
grpc_completion_queue_create_internal
(
grpc_cq_completion_type
completion_type
,
grpc_cq_polling_type
polling_type
);
#ifdef __cplusplus
}
#endif
#endif
/* GRPC_CORE_LIB_SURFACE_COMPLETION_QUEUE_H */
This diff is collapsed.
Click to expand it.
test/cpp/qps/client.h
+
1
−
4
View file @
8698f2bb
...
...
@@ -46,6 +46,7 @@
#include
<grpc/support/log.h>
#include
<grpc/support/time.h>
#include
"src/core/lib/surface/completion_queue.h"
#include
"src/proto/grpc/testing/payloads.pb.h"
#include
"src/proto/grpc/testing/services.grpc.pb.h"
...
...
@@ -54,10 +55,6 @@
#include
"test/cpp/qps/usage_timer.h"
#include
"test/cpp/util/create_test_channel.h"
extern
"C"
{
#include
"src/core/lib/surface/completion_queue.h"
}
namespace
grpc
{
namespace
testing
{
...
...
This diff is collapsed.
Click to expand it.
test/cpp/qps/server.h
+
1
−
4
View file @
8698f2bb
...
...
@@ -38,16 +38,13 @@
#include
<grpc/support/cpu.h>
#include
<vector>
#include
"src/core/lib/surface/completion_queue.h"
#include
"src/proto/grpc/testing/control.pb.h"
#include
"src/proto/grpc/testing/messages.pb.h"
#include
"test/core/end2end/data/ssl_test_data.h"
#include
"test/core/util/port.h"
#include
"test/cpp/qps/usage_timer.h"
extern
"C"
{
#include
"src/core/lib/surface/completion_queue.h"
}
namespace
grpc
{
namespace
testing
{
...
...
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