Commit Graph

57 Commits

Author SHA1 Message Date
Vijay Pai 56540ba9f9 clang-format 2016-11-04 10:02:31 -07:00
Vijay Pai b0a6be2b8f Remove some unnecessary new/delete patterns 2016-11-04 07:51:25 -07:00
Vijay Pai 90102c2bfc Eliminate unnecessary uses of new[]/delete[] that can be replaced
with vector

Also start eliminating uses of plain-old delete that are not helpful
2016-11-04 07:51:24 -07:00
Vijay Pai 320ed13d3e Deprecate grpc::thread and sync in favor of std::thread,mutex,etc 2016-11-01 17:16:55 -07: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
Craig Tiller 44b12f9e23 clang-format 2016-09-08 10:06:14 -07:00
Craig Tiller bd37a21c26 Cleanup, debug support 2016-09-07 11:28:56 -07:00
Vijay Pai 6ab4788ae9 clang-format changes 2016-06-17 00:31:23 -07:00
Vijay Pai a63271c77f Deal with to_string, proper usage of nullptr, and lack of map::emplace 2016-06-15 12:56:38 -07:00
Jan Tattermusch 4da87600dc Merge pull request #6041 from vjpai/i_know_virtual_destructors
Add virtual destructor to satisfy a requirement of some compilers
2016-03-31 17:54:43 -07:00
vjpai bd06e441cc Add virtual destructor to satisfy a requirement of some compilers 2016-03-31 09:33:51 -07:00
Craig Tiller 6169d5f7b0 Update copyrights 2016-03-31 07:46:18 -07:00
Vijay Pai 98f2f754b8 Used TYPED_TEST to parametrize
Include all 4 sync/async client/server combos
2016-03-29 00:54:11 -07:00
Vijay Pai 40d1a2cb87 clang-format 2016-03-29 00:38:09 -07:00
Vijay Pai bbbbf621e4 Add a concurrent test for sync client, async server case 2016-03-29 00:35:26 -07:00
Craig Tiller 9533d042d4 Fix includes 2016-03-25 17:11:06 -07:00
Craig Tiller f40df23eeb Auto-changes 2016-03-25 13:38:14 -07:00
Craig Tiller 45551e0c99 Fix sanity 2016-02-08 14:22:40 -08:00
Sree Kuchibhotla 001db590ff Modify the test to have large number of threads receiving the RPCs and a
smaller number of threads sending the RPCs. This increases the
likelyhood of race-conditions on receiving threads.
2016-02-08 10:57:41 -08:00
Vijay Pai 0a3a766960 Give tsan a chance 2016-02-04 07:32:29 -08:00
Vijay Pai feef8be5ae clang-format 2016-02-03 16:21:25 -08:00
Vijay Pai 63b28447e8 Remove the command-line flags 2016-02-03 15:40:06 -08:00
Vijay Pai 490e5023d7 Fix a typecast... 2016-02-03 15:37:03 -08:00
Vijay Pai e51d29d93c Remove some std:: so that grpc:: will be used by default when available 2016-02-03 12:00:09 -08:00
Vijay Pai 9f3bbb00d8 Generalize namespace for ParseCommandLineFlags 2016-02-03 11:41:50 -08:00
Vijay Pai d10bbb63f8 Refactor to favor composition over inheritance
Also make num_threads and num_rpcs as command-line flags
2016-02-03 11:26:23 -08:00
vjpai c1e70dbc61 100->1000 2016-01-26 15:24:56 -08:00
vjpai 79bdde2ac3 Make async message match sync 2016-01-26 15:22:21 -08:00
Vijay Pai c7c5639d3e Make TearDown follow typical gtest fixture format 2016-01-22 15:34:14 -08:00
Vijay Pai e3b03712fd 100->1000 2016-01-22 11:20:37 -08:00
Vijay Pai 4dc269ed98 Merge async client thread stress test into main thread stress test so as to
improve code reuse
2016-01-22 11:19:30 -08:00
David Garcia Quintas 2bf574f814 Added back trailing newlines 2016-01-14 15:55:03 -08:00
murgatroid99 ace28d3f98 Fix copyrights again 2016-01-14 10:12:10 -08:00
Sree Kuchibhotla b0d0c8e8c2 FormatCode 2016-01-13 22:52:17 -08:00
Sree Kuchibhotla 5a05f51a1c Rename TestService to EchoTestService to prevent name-conflict with
'TestService' in test.proto
2016-01-13 22:43:20 -08:00
Craig Tiller 1b4e33029e Consolidate C++ proto files under src/proto
- make the directory structure match the package structure
- sanitize the package structure (test --> testing)
- add auto-detection of proto file dependencies
2015-12-17 16:35:00 -08:00
Julien Boeuf e5adc0eb67 Fixing Cpp tests. 2015-10-12 14:09:13 -07:00
Nicolas "Pixel" Noble 59588c6162 Removing pessimizing moves.
Pass #2.
2015-09-03 02:29:30 +02:00
Julien Boeuf 0d47192afa Fixing headers and paths after merge with upstream. 2015-08-30 22:18:50 -07:00
Julien Boeuf 5be92a316d Shuffling headers around. 2015-08-28 16:28:18 -07:00
yang-g 730055d962 implementation fix 2015-08-27 12:29:45 -07:00
yang-g 3e4bd9598b merge with head 2015-08-24 15:54:07 -07:00
Vijay Pai e8a7e30a75 Eliminate public thread-pool interface 2015-08-24 10:52:33 -07:00
yang-g 9e2f90cd06 headers reorg 2015-08-21 15:35:03 -07:00
yang-g 8c2be9f228 Remove ChannelInterface and replace it with Channel 2015-08-19 16:28:09 -07:00
Vijay Pai 1f3e6c1ebe Start switching everything to dynamic pool 2015-07-23 16:18:21 -07:00
Craig Tiller c9fef6f521 Merge github.com:grpc/grpc into no-worries-i-can-wait 2015-07-17 14:41:12 -07:00
vjpai a2e1bb1577 Change name of thread_pool files to fixed_size_thread_pool when
appropriate
2015-07-15 16:49:49 -07:00
Vijay Pai 69f2410086 Make thread_pool.h a public header
Rename ThreadPool -> FixedSizeThreadPool to allow for later introduction
of DynamicSizeThreadPool
2015-07-15 12:33:37 -07:00