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.
2021-06-18 12:30:09 -07:00
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
2021-04-30 08:21:58 -07:00
Esun Kim
62ac3f075a
Added call to grpc::testing::TestEnvironment in tests
2020-07-01 11:37:57 -07:00
Esun Kim
165ee5007a
Replaced grpc::string with std::string
2020-06-29 17:56:36 -07:00
Mark D. Roth
cc6414893c
update bazel build dep, regenerate upb files, and add missing includes
2020-06-02 14:48:50 -07:00
Mark D. Roth
ef050280af
Clean up APIs for handling grpclb protos
2019-12-13 07:53:54 -08:00
Lidi Zheng
c34bef4ca4
Format all Bazel files with buildifier
2019-11-05 14:03:52 -08:00
Esun Kim
c6b0bd08c7
Updated grpclb to use upb
2019-08-07 13:25:49 -07:00
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()
2019-06-20 18:16:20 -07:00
yang-g
67742ef63f
Fix BUILD files. Manually edit bzl files
2018-12-06 14:37:52 -08:00
Vijay Pai
c90a85649b
Change grpc++ references in names to grpcpp
2018-03-08 22:04:59 -08:00
Adele Zhou
1c805ec901
Add more bazel tests
2018-02-20 17:46:39 -08:00
David Garcia Quintas
249a1d7104
Removed outdated grpclb_test
2018-02-15 16:04:28 -08:00
Vijay Pai
c745690caf
Internalize gpr_thd except for id and currentid
2018-02-12 11:44:52 -08:00
Noah Eisen
4d20a66685
Run clang fmt
2018-02-09 09:34:04 -08:00
Noah Eisen
be82e64b3d
Autofix c casts to c++ casts
2018-02-09 09:16:55 -08:00
Mark D. Roth
209f644f04
Convert resolver API to C++.
2018-02-08 10:26:46 -08:00
Vijay Pai
ae376bf9d9
Privatize host_port.h; was not used in any wrapped language implementation
2018-01-25 23:06:24 -08:00
Mark D. Roth
dbdf495f61
Split lib/support into lib/gpr and lib/gpr++.
2018-01-18 11:21:12 -08:00
Yash Tibrewal
94e676e10f
Merge pull request #13659 from grpc/revert-13658-revert-13058-execctx
...
Revert "Revert "All instances of exec_ctx being passed around in src/core removed""
2017-12-08 09:30:40 -08:00
David Garcia Quintas
d196658279
Merge branch 'master' of github.com:grpc/grpc into removed_expiration_interval
2017-12-06 16:16:49 -08:00
Yash Tibrewal
8cf1470a51
Revert "Revert "All instances of exec_ctx being passed around in src/core removed""
2017-12-06 09:47:54 -08:00
Yash Tibrewal
ad4d2dde00
Revert "All instances of exec_ctx being passed around in src/core removed"
2017-12-06 09:05:05 -08:00
Yash Tibrewal
a3df36cc25
Merge pull request #13058 from yashykt/execctx
...
All instances of exec_ctx being passed around in src/core removed
2017-12-05 21:19:52 -08:00
Vijay Pai
43b8f8a11e
Update grpclb_test.cc
2017-12-05 17:17:40 -06:00
Vijay Pai
770bf078d5
Regen projects and fix more uses of gpr_thd_new
2017-12-05 16:09:20 -06:00
Yash Tibrewal
c354269ba7
Remove _ prefixed variable names
2017-11-29 19:07:44 -08:00
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
2017-11-28 18:06:23 -08:00
Yash Tibrewal
177039b2f8
Merge master
2017-11-16 19:31:28 -08:00
Yash Tibrewal
6c26b16fe0
Move ExecCtx to grpc_core namespace. Make exec_ctx a private static in ExecCtx and some minor changes
2017-11-14 18:11:22 -08:00
Yash Tibrewal
75122c2357
Address some PR comments
2017-11-14 01:36:28 -08:00
Craig Tiller
be98d24841
clang-format after nullptr changes
2017-11-10 15:26:57 -08:00
Craig Tiller
4ac2b8e585
Enable clang-tidy as a sanity check, fix up all known failures
2017-11-10 14:14:17 -08:00
David Garcia Quintas
8c5c654fa3
Removed expiration_interval from LB proto
2017-11-10 13:59:12 -08:00
Yash Tibrewal
3150744c71
Removing more exec_ctx instances
2017-11-09 18:27:37 -08:00
Yash Tibrewal
4e9265c828
Merge with master
2017-11-09 17:46:29 -08:00
Yash Tibrewal
40422d5fa6
Merge master
2017-11-06 14:43:31 -08:00
Craig Tiller
baa14a975e
Update clang-format to 5.0
2017-11-03 09:09:36 -07:00
Yash Tibrewal
8bd88c459a
Merge master
2017-11-01 11:49:00 -07:00
David Garcia Quintas
77827e1fb2
BG-poll very frequently to pick up subchannels's updates in LB tests
2017-10-31 19:26:08 -07:00
Yash Tibrewal
39aed1ae8b
Remove unnecessary extern Cs
2017-10-25 17:04:35 -07:00
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.
2017-10-18 17:12:19 -07:00
Mark D. Roth
e7751807e2
Use new protocol for reporting dropped calls to grpclb balancer.
2017-07-27 12:31:45 -07:00
Jan Tattermusch
7897ae9308
auto-fix most of licenses
2017-06-08 11:22:41 +02:00
David Garcia Quintas
87d5a3130d
Implement LB policy updates
2017-06-06 19:45:58 -07:00
Craig Tiller
cac4e178fd
Merge github.com:grpc/grpc into cpparena
2017-04-18 13:39:18 -07:00
David G. Quintas
3ddc13b252
Merge pull request #10668 from dgquintas/update_lb_proto_2
...
Updated load_balancer.proto
2017-04-15 16:00:20 -07:00
David Garcia Quintas
a7a1098d2f
Updated load_balancer.proto
2017-04-15 10:55:01 -07:00
David Garcia Quintas
53af23cfbf
Improvements to Fake Resolver
2017-04-15 10:29:46 -07:00
Craig Tiller
2c6f63731c
Merge github.com:grpc/grpc into cpparena
2017-04-14 13:14:10 -07:00