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
3a6385b5
Commit
3a6385b5
authored
8 years ago
by
vjpai
Browse files
Options
Downloads
Patches
Plain Diff
Add ref to test
parent
967e378f
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
doc/cpp-style-guide.md
+2
-1
2 additions, 1 deletion
doc/cpp-style-guide.md
with
2 additions
and
1 deletion
doc/cpp-style-guide.md
+
2
−
1
View file @
3a6385b5
...
@@ -63,7 +63,8 @@ default capture). Other C++ functional features such as
...
@@ -63,7 +63,8 @@ default capture). Other C++ functional features such as
`std::unique_lock`
,
`std::nullptr`
,
`std::thread`
. Instead, use
`std::unique_lock`
,
`std::nullptr`
,
`std::thread`
. Instead, use
`grpc::mutex`
,
`grpc::lock_guard`
, etc., which are gRPC
`grpc::mutex`
,
`grpc::lock_guard`
, etc., which are gRPC
implementations of the prominent features of these objects that are
implementations of the prominent features of these objects that are
not always available. You can use the
`std`
versions of those in
not always available. You can use the
`std`
versions of those in [test]
(../../../tree/master/test/cpp)
-
Similarly, in the same directories, do not use
`std::chrono`
unless
-
Similarly, in the same directories, do not use
`std::chrono`
unless
it is guarded by
`#ifndef GRPC_CXX0X_NO_CHRONO`
. For platforms that
it is guarded by
`#ifndef GRPC_CXX0X_NO_CHRONO`
. For platforms that
lack
`std::chrono,`
there is a C-language timer called gpr_timespec that can
lack
`std::chrono,`
there is a C-language timer called gpr_timespec that can
...
...
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