Commit Graph

266 Commits

Author SHA1 Message Date
Yash Tibrewal 8d47cd4992
Revert "Revert "Fathom tcp changes"" 2018-08-27 14:56:01 -07:00
Jan Tattermusch 97ba943f17
Revert "Fathom tcp changes" 2018-08-27 12:43:20 +02:00
Yash Tibrewal f0397933b0 Fathom TCP level changes. TracedBuffer for keeping track of all buffers
to be traced. Adding tests for Fathom and TracedBuffer. A lot more.
Please read PR description.
2018-07-16 16:28:15 -07:00
Vijay Pai da69355f30 C++ize gpr_thread as grpc_core::Thread, make it 2-phase init (construct/Start) 2018-02-19 22:39:58 -08:00
Vijay Pai 58a62755fc Remove support for detached threads. All threads must be joined. 2018-02-15 21:30:13 -08:00
Vijay Pai c745690caf Internalize gpr_thd except for id and currentid 2018-02-12 11:44:52 -08:00
Noah Eisen 4d20a66685 Run clang fmt 2018-02-09 09:34:04 -08:00
Noah Eisen be82e64b3d Autofix c casts to c++ casts 2018-02-09 09:16:55 -08:00
adelez 39307d23c3
Revert "Revert "Define the tests as grpc_cc_test to automatically test against all po…"" 2018-02-07 11:13:52 -08:00
Mehrdad Afshari b9335ebe47 Upmerge branch 'v1.9.x' into 'master' 2018-02-05 23:23:42 -08:00
adelez 18a356c9fa
Revert "Define the tests as grpc_cc_test to automatically test against all po…" 2018-02-06 14:34:35 -08:00
Adele Zhou 5b30e46854 Define the tests as grpc_cc_test to automatically test against all polling strategies 2018-02-05 14:22:37 -08:00
Yash Tibrewal 83ad85e2fa Remove unnecessary check and few more comments 2018-01-30 15:25:05 -08:00
Yash Tibrewal 54f6092eff Force the client to shutdown so that the server write can complete 2018-01-30 12:17:14 -08:00
Ken Payson 1dc0833bed Don't segfault on header replay 2018-01-26 10:58:18 -08:00
Yash Tibrewal 153ebda1ba reduce send size for window overflow test 2018-01-24 17:35:54 -08:00
Yash Tibrewal b9a34339a7 Make the thread wait so that write can complete too 2018-01-24 14:33:46 -08:00
Yash Tibrewal ea8027a0b1 Merge branch 'master' into badclient 2018-01-24 10:58:25 -08:00
Yash Tibrewal 7cbbee745e remove unnecessary assert 2018-01-24 10:57:36 -08:00
Yash Tibrewal 0d8b21e100 Add helper function for rst_stream 2018-01-23 19:46:42 -08:00
Yash Tibrewal eea1d9ba70 nullptr check 2018-01-22 12:14:56 -08:00
Yash Tibrewal 1791df0a72 Bad client changes to make large metadata test to work again 2018-01-22 03:18:38 -08:00
Mark D. Roth dbdf495f61 Split lib/support into lib/gpr and lib/gpr++. 2018-01-18 11:21:12 -08:00
Yash Tibrewal 8cf1470a51
Revert "Revert "All instances of exec_ctx being passed around in src/core removed"" 2017-12-06 09:47:54 -08:00
Yash Tibrewal ad4d2dde00
Revert "All instances of exec_ctx being passed around in src/core removed" 2017-12-06 09:05:05 -08:00
Yash Tibrewal a3df36cc25
Merge pull request #13058 from yashykt/execctx
All instances of exec_ctx being passed around in src/core removed
2017-12-05 21:19:52 -08:00
Vijay Pai 9dbb6e3a28
Merge pull request #13559 from dmaclach/threadnames
Add thread naming support on platforms that support it.
2017-12-05 19:00:11 -08:00
Yash Tibrewal 73bb67d054 Merge master into execctx 2017-12-05 17:49:11 -08:00
Dave MacLachlan da341bcb89 Fix up review comments 2017-11-30 12:48:22 -08:00
Yash Tibrewal c354269ba7 Remove _ prefixed variable names 2017-11-29 19:07:44 -08:00
Dave MacLachlan af5c54de9c Add thread naming support on platforms that support it.
As a client of grpc I want to be aware of which threads are being
created by grpc, and giving them recognizable names makes it significantly
easier to diagnose what is going on in my programs.
This provides thread names for macOS and Linux. Adding support for other
platforms should be easy for platform specialists.
2017-11-29 16:25:10 -08:00
Yash Tibrewal 81fc8c9c33 Fix tests to call grpc_init and grpc_shutdown before using exec_ctx 2017-11-28 13:23:36 -08:00
Yash Tibrewal a13a8c0f3e A few src/core fixes due to missing exec_ctx_finish 2017-11-21 19:38:09 -08:00
Yash Tibrewal 177039b2f8 Merge master 2017-11-16 19:31:28 -08:00
Mark D. Roth 03610f672e Merge remote-tracking branch 'upstream/master' into server_connection_timeout 2017-11-15 12:54:28 -08:00
Yash Tibrewal 6c26b16fe0 Move ExecCtx to grpc_core namespace. Make exec_ctx a private static in ExecCtx and some minor changes 2017-11-14 18:11:22 -08:00
Yash Tibrewal 75122c2357 Address some PR comments 2017-11-14 01:36:28 -08:00
Craig Tiller be98d24841 clang-format after nullptr changes 2017-11-10 15:26:57 -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
Yash Tibrewal 4e9265c828 Merge with master 2017-11-09 17:46:29 -08:00
Mark D. Roth 04c97d0e0d Add notify_on_receive_settings closure to chttp2 transport. 2017-11-09 09:14:14 -08:00
Mark D. Roth bcfd0f38fc Bool-ify is_client param. 2017-11-09 08:04:47 -08:00
Yash Tibrewal 40422d5fa6 Merge master 2017-11-06 14:43:31 -08:00
Craig Tiller baa14a975e Update clang-format to 5.0 2017-11-03 09:09:36 -07:00
Yash Tibrewal e92294c587 Remove test/core/census 2017-10-31 12:19:35 -07:00
Yash Tibrewal 34a57d0346 rename all test core files to cc and a lot of C++ style conversions 2017-10-25 16:23:01 -07:00
Yash Tibrewal 0ee7574732 Removing instances of exec_ctx being passed around in functions in
src/core. exec_ctx is now a thread_local pointer of type ExecCtx instead of
grpc_exec_ctx which is initialized whenever ExecCtx is instantiated. ExecCtx
also keeps track of the previous exec_ctx so that nesting of exec_ctx is
allowed. This means that there is only one exec_ctx being used at any
time. Also, grpc_exec_ctx_finish is called in the destructor of the
object, and the previous exec_ctx is restored to avoid breaking current
functionality. The code still explicitly calls grpc_exec_ctx_finish
because removing all such instances causes the code to break.
2017-10-18 17:12:19 -07:00
Yash Tibrewal af6bb8515f Disabling large_metadata_bad_client_test as per #11745 2017-10-18 13:05:22 -07:00
Craig Tiller ced7653a1c Merge branch 'flowctlN' into flowctl+millis 2017-10-02 11:54:10 -07:00
yang-g 6bf3184127 Fix bad_client_window_overflow_test at mac 2017-09-26 16:40:45 -07:00