capstan
131579d52d
Roll forward of commit 7883b51: Use abseil's flags in tests.
...
This replaces gflags. Added TODOs where use of `absl::Duration` or `absl::FlagSaver` might be preferred in follow-up cleanup. Fixes #24493 .
This reverts commit da66b7d14e .
NEW:
* Adds references to `absl/flags/declare.h`, new to LTS 2020923.2 imported in commit 5b43440 .
* Works around MSVC 2017 compiler error with large help text on flags by reducing the help text.
2020-11-06 16:07:19 +01:00
Nathan Herring
da66b7d14e
Revert "Abseil Flags"
2020-10-24 15:19:55 -07:00
capstan
7883b5133d
Use abseil's flags in tests.
...
This replaces gflags. Added TODOs where use of `absl::Duration` or `absl::FlagSaver` might be preferred in follow-up cleanup. Fixes #24493 .
2020-10-23 19:36:33 +02:00
Vijay Pai
8908b58bc2
Make sure test does something
2019-10-15 23:43:28 -07:00
Vijay Pai
c2d749dea0
Fix portability issues and make more readable
2019-10-15 17:03:23 -07:00
Vijay Pai
d16c6792b0
Make thread_manager_test look like other tests
2019-10-15 15:40:56 -07:00
Vijay Pai
14ad82a76d
Create a new method handler for resource exhaustion and tie into thread mgr
2018-08-14 16:23:21 -07:00
Sree Kuchibhotla
bdd13cb0ae
Revert "Revert "Restrict the number of threads in C++ sync server""
2018-08-01 11:22:40 -07:00
Nicolas Noble
bea98c3c1b
Revert "Restrict the number of threads in C++ sync server"
2018-07-31 21:12:45 -07:00
Sree Kuchibhotla
c2a22a1ab8
Address core review comments
2018-07-27 16:19:03 -07:00
Sree Kuchibhotla
b95772eeb9
Add Tests in Core and C++ and fix a few related bugs in thread_manager.cc
2018-07-24 16:35:25 -07:00
Sree Kuchibhotla
ec1c112cc1
Each ThreadManager is a resource user
2018-07-20 15:10:16 -07:00
Muxi Yan
2a03c876ec
Fix one more file
2018-03-12 14:54:55 -07:00
Vijay Pai
c90a85649b
Change grpc++ references in names to grpcpp
2018-03-08 22:04:59 -08:00
Jan Tattermusch
c9ec2c0888
Revert "Stop using std::thread in C++ library since it can trigger exceptions"
2018-01-12 10:16:22 +01:00
Vijay Pai
5dd32268be
Switch C++ sync server to use gpr_thd rather than std::thread and provide resource exhaustion mechanism
2018-01-08 10:02:38 -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
Craig Tiller
baa14a975e
Update clang-format to 5.0
2017-11-03 09:09:36 -07:00
Jan Tattermusch
7897ae9308
auto-fix most of licenses
2017-06-08 11:22:41 +02:00
Craig Tiller
570fad827c
Fix printf format
2017-04-29 14:56:13 -07:00
Jan Tattermusch
bd0b0546a6
windows compilation fixes
2017-02-02 00:01:09 +01:00
Vijay Pai
713c7b87e1
clang-format
2016-11-01 16:33:18 -07:00
Vijay Pai
c0b2acb1a0
Use C++11 final and override
2016-11-01 16:31:56 -07:00
Sree Kuchibhotla
14b701c114
Use nullptr instead of NULL. Move test to grpc namespace so that when using gcc4.4, we use nullptr definition in grpc++/impl/codegen/config.h
2016-10-25 14:29:10 -07:00
Sree Kuchibhotla
cb4cd3dc5d
make gcc4.4 happy
2016-10-25 12:06:04 -07:00
Sree Kuchibhotla
3fc578345d
Change std::atomic_int to gpr_atm since gcc4.4 is complaining
2016-10-24 16:18:13 -07:00
Sree Kuchibhotla
069c12de23
Fix thread_manager_test
2016-10-24 12:36:52 -07:00
Sree Kuchibhotla
85399f0824
clang formatting fixes
2016-10-24 09:41:20 -07:00
Sree Kuchibhotla
6135535ca7
Minor changes and called generate_projects.sh again
2016-10-20 11:17:22 -07:00
Sree Kuchibhotla
920ed0c418
Modify Thread manager test
2016-10-19 17:02:16 -07:00
Sree Kuchibhotla
385c9b2f05
Address code review comments
2016-10-18 16:26:38 -07:00
Sree Kuchibhotla
d39f40da9e
Fix include files
2016-10-13 15:21:14 -07:00
Sree Kuchibhotla
8f7739bcd6
Rename GrpcRpcManager -> ThreadManager
2016-10-13 15:12:55 -07:00