Craig Tiller
ea389c00c2
Adjust include order per style guide ( #27175 )
...
Introduce clang-format configuration to sort includes closer to our rules.
3 years ago
AJ Heller
25d91e3091
New iomgr implementation backed by the EventEngine API ( #26026 )
...
This code adds an iomgr implementation that's backed by an EventEngine. This uses the EventEngine API alone, and separate work will introduce an EventEngine prototype to plug into it.
See also drfloob#1: @nicolasnoble has a pull request against this branch, implementing the libuv-based EventEngine. One goal here is to implement the iomgr code such that it can be merged independently without affecting normal builds.
This implementation can be built using bazel build --cxxopt='-DGRPC_USE_EVENT_ENGINE' :all
Some shortcuts are being taken to get a working, testable version of the engine. EventEngines are not pluggable, for example.
3 years ago
Mark D. Roth
4c40ee3f78
move parse_address and sockaddr_utils out of iomgr directory ( #26077 )
...
* move parse_address and sockaddr_utils out of iomgr directory
* clang-format
* fix python
* fix for import
* fix build file for import
4 years ago
Esun Kim
62ac3f075a
Added call to grpc::testing::TestEnvironment in tests
4 years ago
Esun Kim
165ee5007a
Replaced grpc::string with std::string
4 years ago
Mark D. Roth
cc6414893c
update bazel build dep, regenerate upb files, and add missing includes
5 years ago
Mark D. Roth
ef050280af
Clean up APIs for handling grpclb protos
5 years ago
Lidi Zheng
c34bef4ca4
Format all Bazel files with buildifier
5 years ago
Esun Kim
c6b0bd08c7
Updated grpclb to use upb
5 years ago
Prashant Jaikumar
fbfb93c88f
Fix C++ tests to run on iOS
...
- Define grpc_iomgr_run_in_background in iomgr_posix_cfstream.cc
- Use *_IF_SUPPORTED() for death tests
- Move global test init, teardown to SetUpTestCase, TearDownTestCase as GTMGoogleTestRun doesn't run main()
6 years ago
yang-g
67742ef63f
Fix BUILD files. Manually edit bzl files
6 years ago
Vijay Pai
c90a85649b
Change grpc++ references in names to grpcpp
7 years ago
Adele Zhou
1c805ec901
Add more bazel tests
7 years ago
David Garcia Quintas
249a1d7104
Removed outdated grpclb_test
7 years ago
Vijay Pai
c745690caf
Internalize gpr_thd except for id and currentid
7 years ago
Noah Eisen
4d20a66685
Run clang fmt
7 years ago
Noah Eisen
be82e64b3d
Autofix c casts to c++ casts
7 years ago
Mark D. Roth
209f644f04
Convert resolver API to C++.
7 years ago
Vijay Pai
ae376bf9d9
Privatize host_port.h; was not used in any wrapped language implementation
7 years ago
Mark D. Roth
dbdf495f61
Split lib/support into lib/gpr and lib/gpr++.
7 years ago
Muxi Yan
38fcd0c6c3
clang-format
7 years ago
Yash Tibrewal
8cf1470a51
Revert "Revert "All instances of exec_ctx being passed around in src/core removed""
7 years ago
Yash Tibrewal
ad4d2dde00
Revert "All instances of exec_ctx being passed around in src/core removed"
7 years ago
Vijay Pai
43b8f8a11e
Update grpclb_test.cc
7 years ago
Vijay Pai
770bf078d5
Regen projects and fix more uses of gpr_thd_new
7 years ago
Yash Tibrewal
c354269ba7
Remove _ prefixed variable names
7 years ago
Yash Tibrewal
03412ee9de
Remove TLS_NO_SUPPORT and always use GPR_TLS. Reorder statements in grpc_init and grpc_shutdown. Add grpc_init and grpc_shutdown in failing test/cpp tests
7 years ago
Yash Tibrewal
6c26b16fe0
Move ExecCtx to grpc_core namespace. Make exec_ctx a private static in ExecCtx and some minor changes
7 years ago
Yash Tibrewal
75122c2357
Address some PR comments
7 years ago
Craig Tiller
be98d24841
clang-format after nullptr changes
7 years ago
Craig Tiller
4ac2b8e585
Enable clang-tidy as a sanity check, fix up all known failures
7 years ago
David Garcia Quintas
8c5c654fa3
Removed expiration_interval from LB proto
7 years ago
Yash Tibrewal
3150744c71
Removing more exec_ctx instances
7 years ago
Craig Tiller
baa14a975e
Update clang-format to 5.0
7 years ago
David Garcia Quintas
77827e1fb2
BG-poll very frequently to pick up subchannels's updates in LB tests
7 years ago
Yash Tibrewal
39aed1ae8b
Remove unnecessary extern Cs
7 years ago
Yash Tibrewal
0ee7574732
Removing instances of exec_ctx being passed around in functions in
...
src/core. exec_ctx is now a thread_local pointer of type ExecCtx instead of
grpc_exec_ctx which is initialized whenever ExecCtx is instantiated. ExecCtx
also keeps track of the previous exec_ctx so that nesting of exec_ctx is
allowed. This means that there is only one exec_ctx being used at any
time. Also, grpc_exec_ctx_finish is called in the destructor of the
object, and the previous exec_ctx is restored to avoid breaking current
functionality. The code still explicitly calls grpc_exec_ctx_finish
because removing all such instances causes the code to break.
7 years ago
Mark D. Roth
e7751807e2
Use new protocol for reporting dropped calls to grpclb balancer.
7 years ago
Jan Tattermusch
7897ae9308
auto-fix most of licenses
8 years ago
David Garcia Quintas
87d5a3130d
Implement LB policy updates
8 years ago
Alexander Polcyn
f5521c33f9
Revert "Merge branch 'master' into v1.3.x"
...
This reverts commit 79759fea1a
, reversing
changes made to dc36f4df6a
.
8 years ago
David Garcia Quintas
a7a1098d2f
Updated load_balancer.proto
8 years ago
David Garcia Quintas
53af23cfbf
Improvements to Fake Resolver
8 years ago
Craig Tiller
9eb0fdec00
Reorganize ext tree
...
- filters live under filters
- lb_policy, resolver implementations (being part of client_channel) live under client_channel
8 years ago
Craig Tiller
dd36b15315
Call ref/unref, bugfixes
8 years ago
Sree Kuchibhotla
5bec133ba0
clang format
8 years ago
Sree Kuchibhotla
f2c32150ef
Update C++ code
8 years ago
Sree Kuchibhotla
752be9ceeb
clang format code
8 years ago
Sree Kuchibhotla
1dbd981cf8
Prefix grpc_cq_polling_type enums with GRPC_CQ_
8 years ago
Sree Kuchibhotla
9f71b17707
Fix clang formatting issues
8 years ago