AJ Heller
49b9dfa644
Revert "[EventEngine] Revert "Revert "EventEngine::RunAt: C++ Alarm ( #30024 )" ( #30147 )"" ( #32783 )
...
Reverts grpc/grpc#32461 . One new benchmark showed performance problems.
Co-authored-by: Yijie Ma <yijiem.main@gmail.com>
2 years ago
edmondj
cd4154f21d
Fixed memory leak in Alarm's move assignment
2 years ago
AJ Heller
070ce3630a
[EventEngine] Revert "Revert "EventEngine::RunAt: C++ Alarm ( #30024 )" ( #30147 )" ( #32461 )
...
This reverts commit 0fc0384b5a
.
Major changes: this code calls `GetDefaultEventEngine` once on Alarm
init instead of 7 times throughout.
I will run benchmarks to ensure b/237283941 is not reproduced.
<!--
If you know who should review your pull request, please assign it to
that
person, otherwise the pull request would get assigned randomly.
If your pull request is for a specific language, please add the
appropriate
lang label.
-->
---------
Co-authored-by: drfloob <drfloob@users.noreply.github.com>
2 years ago
Yijie Ma
f99b8b5bc4
Convert c-style comments to C++-style comments ( #31923 )
...
* baseline
* fix clang-tidy
* manually revert these files
* manually fixup at eof
* revert 2 more files
* change check_deprecated_grpc++.py
* change end2end_defs.include template
* fix check_include_guards.py
* untrack tools/distrib/python/convert_cstyle_comments_to_cpp.py
not yet ready to be submitted
* fix
yapf check_include_guards.py
remove a space...
* fix version.cc.template
* fix version_info.h.template
2 years ago
Cheng-Yu Chung
c91c2fbd1a
Remove `include/grpcpp/impl/codegen/completion_queue_tag.h` ( #31320 )
...
* Remove `include/grpcpp/impl/codegen/completion_queue_tag.h`
* Automated change: Fix sanity tests
2 years ago
Cheng-Yu Chung
47b9a57de9
Remove `g_glip` and `class GrpcLibraryInterface` ( #30414 )
...
* Remove `g_glip` and `class GrpcLibraryInterface`
* Update
* Update
* Update
* Automated change: Fix sanity tests (#20 )
* Update
* Update
* Update
* Test
* Fix
* Revert "Test"
This reverts commit 2f5c77e98d
.
* More fix
* More fix
* More fix
* Minor fix
* Revert "Minor fix"
This reverts commit 1ee3ae4da1
.
* Revert "More fix"
This reverts commit 1fc234896b
.
* Revert "More fix"
This reverts commit 851393c0e6
.
* Revert "More fix"
This reverts commit ed342a51d0
.
* Revert "Fix"
This reverts commit 286ad8e639
.
2 years ago
Cheng-Yu Chung
c65348879a
Remove `include/grpcpp/impl/codegen/time.h` ( #31290 )
2 years ago
Cheng-Yu Chung
cc58369279
Remove `include/grpcpp/impl/codegen/completion_queue.h` ( #31059 )
...
* Remove `include/grpcpp/impl/codegen/completion_queue.h`
* Update
* Update
* Fix build error
* Update
2 years ago
AJ Heller
85189b24bb
Reintroduce: Avoid fully qualifying namespaces (and add check) ( #28917 )
...
Based on a handful of https://abseil.io/tips , it's generally advised to
only fully-qualify namespaces when in a `using` statement, or when it's
otherwise required for compilation. In all other cases, the general
recommendation is to not fully-qualify.
This change fixes most `grpc.*` namespace uses. There are potential
challenges in trying to make blanket changes to non-gRPC namespace uses,
such as `::testing`, since there is also a `grpc::testing` namespace.
3 years ago
AJ Heller
e72a5fe5dd
Revert "Avoid fully qualifying namespaces (and add check) ( #28901 )" ( #28916 )
...
This reverts commit fc7314c701
.
3 years ago
AJ Heller
fc7314c701
Avoid fully qualifying namespaces (and add check) ( #28901 )
...
Based on a handful of https://abseil.io/tips , it's generally advised to
only fully-qualify namespaces when in a `using` statement, or when it's
otherwise required for compilation. In all other cases, the general
recommendation is to not fully-qualify.
This change fixes most `grpc.*` namespace uses. There are potential
challenges in trying to make blanket changes to non-gRPC namespace uses,
such as `::testing`, since there is also a `grpc::testing` namespace.
3 years ago
Vijay Pai
cf1ebf7387
Remove experimental tag from uses of the C++ callback API ( #26495 )
4 years ago
Vijay Pai
0937cb1249
Add usage note about immediately-Set alarms ( #25678 )
4 years ago
Esun Kim
decc199ca8
Fix by clang-tidy
4 years ago
Karthik Ravi Shankar
e549843885
Move remaining classes to grpc from grpc_impl
4 years ago
Nicolas "Pixel" Noble
d550af373c
Moving ::grpc::Alarm to ::grpc_impl::Alarm.
6 years ago
Vijay Pai
1359543b47
Add a comment to address reviewer feedback
6 years ago
Vijay Pai
db01bf793a
Add callback-based alarms
6 years ago
Muxi Yan
0e00c43082
Move headers from grpc++ to grpcpp
7 years ago
Vijay Pai
e1e7042919
Restructure to simplify, harden, and avoid forward declaration
7 years ago
Vijay Pai
2b226adf60
Remove alarm from core, implement in C++ layer only
7 years ago
Vijay Pai
06e174a088
Separate public and internal C++ interfaces
7 years ago
Vijay Pai
58c33ba19b
Decouple alarm construction from setting to avoid races in MT code
7 years ago
Vijay Pai
6abd20020b
Revert "Separate internal-only and public parts of C++ API"
7 years ago
Vijay Pai
c0baec60a1
Internalize structs and methods meant for being exposed through codegen
...
or that interface with core and are only for internal use
8 years ago
David Garcia Quintas
e48949f0b4
Make grpc::Alarm non-copyable
8 years ago
Jan Tattermusch
7897ae9308
auto-fix most of licenses
8 years ago
Vijay Pai
c0b2acb1a0
Use C++11 final and override
8 years ago
Craig Tiller
6169d5f7b0
Update copyrights
9 years ago
David Garcia Quintas
60ee8dd2fc
docstrings
9 years ago
David Garcia Quintas
0160873273
PR comments addressed
9 years ago
David Garcia Quintas
5e07d76a86
Made Alarm's constructor a template for deadline
9 years ago
Vijay Pai
810a13e2d3
Remove a small allocation, at the cost of a little uglier header file.
...
This commit may or may not be a great tradeoff.
9 years ago
vjpai
04e992a750
Make C++ alarm class usable and testable - there were some build issues and
...
it was not actually even included in the library or the test suite.
9 years ago
Alistair Veitch
75d5c0f024
post merge
9 years ago
David Garcia Quintas
5a9462339d
copyrights
9 years ago
David Garcia Quintas
e1300deb87
After GrpcLibrary refactoring. Compiles and passes. WIP still
9 years ago
Nicolas "Pixel" Noble
ba404826be
Clang format.
9 years ago
Craig Tiller
5925603101
stream_op cleanup: miscellany
9 years ago
David Garcia Quintas
7fd0fd5023
C++ Alarm implementation (with tests).
9 years ago
yang-g
9fb35a5332
split stream.h into sync_stream.h and async_stream.h
9 years ago
yang-g
9e2f90cd06
headers reorg
9 years ago
yang-g
8c2be9f228
Remove ChannelInterface and replace it with Channel
9 years ago
Craig Tiller
d6c98df792
clang-format all source
9 years ago
Yang Gao
75e2f6d839
Implementation of generic stub
10 years ago
Yang Gao
6baa9b67ad
clang-format c++ code
10 years ago
Yang Gao
4999649653
Rename to AsyncGeneric*
10 years ago
Yang Gao
179f8684dc
add missing GRPC_FINAL
10 years ago
Yang Gao
005eb88c45
Rename anonymous to generic globally
10 years ago
Yang Gao
1c40233814
first sets of changes, it builds
10 years ago