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
Nicolas Noble
b7ebd3b8c6
Initial import.
11 years ago