donnadionne
1835f00ef1
Revert "Revert "Made grpc_core::Mutex compatible to absl::Mutex" ( #25537 )" ( #25549 )
...
This reverts commit 8e268dcec8
.
4 years ago
donnadionne
8e268dcec8
Revert "Made grpc_core::Mutex compatible to absl::Mutex" ( #25537 )
...
* Revert "Made grpc_core::Mutex compatible to absl::Mutex"
This reverts commit 0b53341328
.
* Revert "Added thread annotation (#25486 )"
This reverts commit 9d897cb1a5
.
* Revert "Fix a race in resolve_address and resolve_address_posix tests"
This reverts commit 6d8e7d3819
.
* Restore 25398
* restore 25398
4 years ago
Esun Kim
0b53341328
Made grpc_core::Mutex compatible to absl::Mutex
4 years ago
Esun Kim
6dc1748f6c
Revert "Made grpc_core::Mutex compatible to absl::Mutex"
4 years ago
Esun Kim
6a1518bd22
Made grpc_core::Mutex compatible to absl::Mutex
4 years ago
Esun Kim
34789b2d83
Fix by clang-format-8.
5 years ago
Esun Kim
f40a702441
Clean up headers
5 years ago
Soheil Hassas Yeganeh
2b9448a71c
Revert "Revert "Introduce C++ wrappers for gpr_mu and gpr_cv.""
...
This reverts commit d09c9f8e20
.
6 years ago
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
02b64f5c91
Fix a thread name
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
Jan Tattermusch
7897ae9308
auto-fix most of licenses
8 years ago
Craig Tiller
7c70b6c144
Revert "Revert "Metadata handling rewrite""
...
This reverts commit 5e01e2ac97
.
8 years ago
Craig Tiller
5e01e2ac97
Revert "Metadata handling rewrite"
8 years ago
Craig Tiller
6d353e2a72
Fix mac
8 years ago
Craig Tiller
85e15a0bde
Spam cleanup
8 years ago
Craig Tiller
95beab2284
Uncover the badness
8 years ago
Vijay Pai
0109d16ac0
clang-format
9 years ago
Vijay Pai
320ed13d3e
Deprecate grpc::thread and sync in favor of std::thread,mutex,etc
9 years ago
Vijay Pai
e8a7e30a75
Eliminate public thread-pool interface
10 years ago
yang-g
9e2f90cd06
headers reorg
10 years ago
Craig Tiller
d6c98df792
clang-format all source
10 years ago
vjpai
24b3b7e3d4
Fix thread list iterator
10 years ago
vjpai
02b80549e9
Bug fixes
10 years ago
vjpai
b76f3ada11
Fix bug on shutdown case
10 years ago
vjpai
b28456b1e4
Add dynamic thread pool and initial port of test
10 years ago
vjpai
72a44178e9
ThreadPoolInterface::ScheduleCallback --> ThreadPoolInterface::Add
10 years ago
vjpai
a2e1bb1577
Change name of thread_pool files to fixed_size_thread_pool when
...
appropriate
10 years ago
Vijay Pai
69f2410086
Make thread_pool.h a public header
...
Rename ThreadPool -> FixedSizeThreadPool to allow for later introduction
of DynamicSizeThreadPool
10 years ago
Yang Gao
69fe0759be
Various minor fixes
10 years ago
Nicolas "Pixel" Noble
ff2828be3d
Rewriting mutex, condition_variable, and thread.
10 years ago
vjpai
d5933b6184
Remove lambda expression being used in grpc C++ library
10 years ago
Vijay Pai
335b97df8c
Revert "Remove lambda expression to support older compilers"
...
This reverts commit 5d5b1d8c8e
.
10 years ago
vjpai
5d5b1d8c8e
Remove lambda expression to support older compilers
10 years ago
Vijay Pai
82dd80abc6
Elminate range-based fors and work around some other limitations in older compilers
10 years ago
Yang Gao
6baa9b67ad
clang-format c++ code
10 years ago
Craig Tiller
c5ba0e56a0
Make it possible to compile with gcc4.6
10 years ago
Craig Tiller
cf133f41f8
Make it possible to compile with gcc4.6
10 years ago
Nicolas Noble
65b0759653
Addressing a first batch of feedback.
10 years ago
Craig Tiller
190d360def
Add missing new-lines at end of file
10 years ago
Craig Tiller
0605995e55
Update copyright to 2015
10 years ago
Craig Tiller
b81df7e000
Fix an obvious bug
...
And make it easy not to make the same mistake
10 years ago
Craig Tiller
b1663e7465
Remove a major source of contention in thread_pool
...
- notify_one when new work is available to avoid thundering herd
problems
- checking conditions before entering cv_.wait() prevents a case that
these are not validated
10 years ago
Craig Tiller
ecd49345b5
Use clang-format-3.5
10 years ago