Alexander Polcyn
d09c9f8e20
Revert "Introduce C++ wrappers for gpr_mu and gpr_cv."
...
This reverts commit a26c09dd25
.
6 years ago
Soheil Hassas Yeganeh
e85dd2e644
Fix build errors
6 years ago
Karthik Ravi Shankar
f03b309787
Revert "Merge pull request #18458 from grpc/grpc_namespace_server"
...
This reverts commit dc1089a6d1
, reversing
changes made to 31843787cc
.
This change also includes - Revert "Merge pull request #17932 from soheilhy/gprpp-mutex"
This reverts commit df4b6a763d
, reversing
changes made to dc1089a6d1
.
6 years ago
Soheil Hassas Yeganeh
a26c09dd25
Introduce C++ wrappers for gpr_mu and gpr_cv.
...
Introduce RAII wrappers in the grpc::internal and grpc_core
namespaces, and use them in place of std::mutex and
std::condition_variable.
Note that, since std::mutex is also used by the public
C++ headers we cannot introduce these wrappers in grpc_core.
Also, note that in grpcpp we cannot use gRPC core and vice versa.
So we had to duplicate the code, once using core_codegen_interface
and once using direct calls.
6 years ago
Vijay Pai
d9781df474
Address reviewer comments
6 years ago
Vijay Pai
14ad82a76d
Create a new method handler for resource exhaustion and tie into thread mgr
6 years ago
Sree Kuchibhotla
bdd13cb0ae
Revert "Revert "Restrict the number of threads in C++ sync server""
6 years ago
Nicolas Noble
bea98c3c1b
Revert "Restrict the number of threads in C++ sync server"
6 years ago
Sree Kuchibhotla
6eac5e41b1
std::max is not available on some windows platforms
6 years ago
Sree Kuchibhotla
c2a22a1ab8
Address core review comments
6 years ago
Sree Kuchibhotla
b95772eeb9
Add Tests in Core and C++ and fix a few related bugs in thread_manager.cc
6 years ago
Sree Kuchibhotla
ec1c112cc1
Each ThreadManager is a resource user
6 years ago
Vijay Pai
809cf96c56
Name needs to only be alphanumeric+underscore+dash
7 years ago
Vijay Pai
7fed69b7ad
Use static_cast rather than reinterpret_cast whenever possible
7 years ago
Vijay Pai
162ae4f50c
Remove std::thread, keep everything else unchanged ( #13 )
7 years ago
Jan Tattermusch
c9ec2c0888
Revert "Stop using std::thread in C++ library since it can trigger exceptions"
7 years ago
Vijay Pai
5dd32268be
Switch C++ sync server to use gpr_thd rather than std::thread and provide resource exhaustion mechanism
7 years ago
Sree Kuchibhotla
419b617a95
Fix thread avalances in thread manager
7 years ago
David Garcia Quintas
aef267b71e
Put thread creation and join under lock
7 years ago
Jan Tattermusch
7897ae9308
auto-fix most of licenses
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
Craig Tiller
f659ee5ff1
Move comment
8 years ago
Craig Tiller
35f27cd457
More cleanup
8 years ago
Craig Tiller
4818150728
Better commentary
8 years ago
Craig Tiller
a3e87894f2
Fix, restore draining
8 years ago
Craig Tiller
991c101de8
Initial thread manager fixes
8 years ago
Vijay Pai
320ed13d3e
Deprecate grpc::thread and sync in favor of std::thread,mutex,etc
8 years ago
Sree Kuchibhotla
85399f0824
clang formatting fixes
8 years ago
Sree Kuchibhotla
385c9b2f05
Address code review comments
8 years ago
Sree Kuchibhotla
d39f40da9e
Fix include files
8 years ago
Sree Kuchibhotla
8f7739bcd6
Rename GrpcRpcManager -> ThreadManager
8 years ago
Sree Kuchibhotla
acd64db4d9
Minor changes
8 years ago
Sree Kuchibhotla
3b2bc2deb1
tsan failures
8 years ago
Sree Kuchibhotla
862acb9f3a
fix shutdown crash
8 years ago
Sree Kuchibhotla
4306eeee39
Minor changes
8 years ago
Sree Kuchibhotla
aabada97a1
One RPCMgr instance per CQ
8 years ago
Sree Kuchibhotla
f95f125506
Minor changes
8 years ago
Sree Kuchibhotla
bb5519f5a5
More changes
8 years ago
Sree Kuchibhotla
0ba41907a2
Minor changes to GrpcRpcManager
8 years ago
Sree Kuchibhotla
8600438d54
Add more functionality (no cq integration yet) and add a dummy test
8 years ago
Sree Kuchibhotla
9e656a4340
Initial shell
8 years ago
yang-g
773a8825bc
Minor fixes
9 years ago
Martin Dyring-Andersen
0de6cea207
Fix scope problem when GPR_SUPPORT_CHANNELS_FROM_FD is not defined
9 years ago
Adam Michalik
4ad746e4e0
clang-format, fix headers, windows fixes
9 years ago
Adam Michalik
b97e2d145e
Add C++ support for using external FD
9 years ago
David Garcia Quintas
3a43cc06a8
Added codegen_test_full
...
Which makes sure target that depend on both codegen and grpc build.
9 years ago
David Garcia Quintas
b942640497
clang-format
9 years ago
David Garcia Quintas
4ac52fa6dd
WIP. Added codegen_test
9 years ago
Alistair Veitch
75d5c0f024
post merge
9 years ago
Julien Boeuf
5be92a316d
Shuffling headers around.
9 years ago