Nicolas Noble
eb2ae7a0cc
Fixing RouteGuide's C++ Reactor example. ( #29404 )
...
* Fixing RouteGuide's C++ Reactor example.
The current method involves locking and unlocking a mutex from different
threads, which isn't allowed. Changing the strategy a bit to address
this.
* Automated change: Fix sanity tests
* Switching to absl::Mutex to annotate usage properly.
* Actually, let's not cover the examples with sanity checks.
3 years ago
Yash Tibrewal
7fb4998029
RouteGuide example: Abort if database file not found ( #29398 )
3 years ago
AJ Heller
1f03bbab39
Small cleanup ( #29125 )
...
The std::moves of temporaries prevented copy elision, and the functions
were unused (one with a TODO to re-enable later)
3 years ago
Craig Tiller
d1e01ac139
Add a test for a (now-illegal) build file construct ( #27602 )
...
* Add a test for a (now-illegal) build file construct
* add to test suite!
* fix
* fix
* fix syntax
3 years ago
Craig Tiller
ea389c00c2
Adjust include order per style guide ( #27175 )
...
Introduce clang-format configuration to sort includes closer to our rules.
3 years ago
Nicolas Noble
a325d7f77a
Pointing the protobuf submodule to the new URL ( #26811 )
...
* Pointing the protobuf submodule to the new URL
* Also changing WORKSPACE dependencies
* More references to the old URL...
3 years ago
Vijay Pai
8aff94558c
De-experimentalize C++ callback API ( #25728 )
...
* De-experimentalize callback API
* Make FromServerContext based on ServerContextBase
* Fix lambda
* Fix headers
* De-experimentalize tests
* clang-format
* Fix consistency checks
* wip
* Fix const-ness of callback client read RPC requests
* Fix golden file
* Give full route_guide callback client example with Hold etc
* Complete example route-guide server
* De-experimentalize test services
* Omit unneeded using
* Remove some uses of non-experimental macro from test
* clang-format examples
* De-experimentalize async stub calls
* Remove experimental namespace use in qps, ubms
* De-experimentalize alarms, generic stubs, and context allocator
* De-experimentalize SetContextAllocator
* clang-format
* Fix conflicts
* Leave obsolete API in place until users can be migrated
4 years ago
Vijay Pai
ce16365421
clang-format C++ examples ( #25764 )
4 years ago
Esun Kim
e7afadc255
Refactor examples BUILD files
4 years ago
Esun Kim
69bb5e328e
Added CMakeLists for route_guide example
4 years ago
Patrice Chalin
5ac3aa789f
Docs: fix links to grpc.io tutorial pages
5 years ago
Tariq Ramlall
efee7d4677
[Docs] Updated link to CPP example on grpc.io website.
5 years ago
Hao Nguyen
7f787bd083
Link against pthread in examples
6 years ago
Prashant Jaikumar
4f2d8a0014
Fix bazel build for examples
...
Fixed the bazel build for some code in the examples directory.
6 years ago
Juanli Shen
3f3f177222
Fix route guide example
6 years ago
Jan Tattermusch
db53a61b8f
deduplicate C++ routeguide
7 years ago
Jan Tattermusch
a26aecc03b
reimplement distance calculation in routeguide
7 years ago
Vijay Pai
c90a85649b
Change grpc++ references in names to grpcpp
7 years ago
Toshihito Kikuchi
351506688d
Update compiler/linker options to use pkg-config in C++ examples
8 years ago
Jan Tattermusch
7897ae9308
auto-fix most of licenses
8 years ago
Jorge Canizales
4343c904e2
Update Protobuf submodule to v3.0.0 (GA)
8 years ago
Muxi Yan
cd0d8aed65
Identify system and remove --no-as-need if it is Mac OS
8 years ago
Muxi Yan
4e3df00f00
Removed --no-as-needed options from Makefile of HelloWorld and RouteGuide
8 years ago
Jorge Canizales
9e6372380d
Update protobuf submodule to 3.0.0-beta-4
...
Which has the fix for oneofs when using dynamic frameworks in ObjectiveC
8 years ago
Yuchen Zeng
1c58bd221d
Enable server reflection in c++ examples
9 years ago
Jorge Canizales
f29e364168
Bump protobuf version to beta-3.3
...
It’s just the merge of beta-3.1 and beta-3.2, both of which we need.
9 years ago
Nicolas "Pixel" Noble
81159e5adc
Fixing examples.
9 years ago
Craig Tiller
6169d5f7b0
Update copyrights
9 years ago
Przemysław Sobala
fbf8c0b8ca
Update copyright
9 years ago
yang-g
b45f265326
Remove reference to lgpr in examples
9 years ago
Przemysław Sobala
ea9a031fed
Update protobuf version
9 years ago
Julien Boeuf
8c48a2a196
Fixing cpp examples.
9 years ago
yang-g
e69909a7e7
fix build
9 years ago
yang-g
b2a30c196e
fix cpp
9 years ago
yang-g
92806a51ba
remove ChannelArguments ref and update doc
9 years ago
yang-g
75d04da2e4
sync up with CreateChannel API change
9 years ago
Stanley Cheung
20fa6693f3
move examples to correct locations
9 years ago