Yash Tibrewal
8cf1470a51
Revert "Revert "All instances of exec_ctx being passed around in src/core removed""
7 years ago
Yash Tibrewal
ad4d2dde00
Revert "All instances of exec_ctx being passed around in src/core removed"
7 years ago
Mark D. Roth
e204e5e497
Apply #13336 to v1.8.x branch.
7 years ago
Dave MacLachlan
da341bcb89
Fix up review comments
7 years ago
Yash Tibrewal
c354269ba7
Remove _ prefixed variable names
7 years ago
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.
7 years ago
Yash Tibrewal
81fc8c9c33
Fix tests to call grpc_init and grpc_shutdown before using exec_ctx
7 years ago
Yash Tibrewal
a13a8c0f3e
A few src/core fixes due to missing exec_ctx_finish
7 years ago
Yash Tibrewal
6c26b16fe0
Move ExecCtx to grpc_core namespace. Make exec_ctx a private static in ExecCtx and some minor changes
7 years ago
Yash Tibrewal
75122c2357
Address some PR comments
7 years ago
Craig Tiller
be98d24841
clang-format after nullptr changes
7 years ago
Craig Tiller
4ac2b8e585
Enable clang-tidy as a sanity check, fix up all known failures
7 years ago
Mark D. Roth
04c97d0e0d
Add notify_on_receive_settings closure to chttp2 transport.
7 years ago
Mark D. Roth
bcfd0f38fc
Bool-ify is_client param.
7 years ago
Craig Tiller
baa14a975e
Update clang-format to 5.0
7 years ago
Yash Tibrewal
e92294c587
Remove test/core/census
7 years ago
Yash Tibrewal
34a57d0346
rename all test core files to cc and a lot of C++ style conversions
7 years ago
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.
7 years ago
Yash Tibrewal
af6bb8515f
Disabling large_metadata_bad_client_test as per #11745
7 years ago
yang-g
6bf3184127
Fix bad_client_window_overflow_test at mac
7 years ago
Craig Tiller
a42a22b2be
Update window overflow test
7 years ago
yang-g
b98bf8c165
Make package names consistent under test/core
7 years ago
Nicolas "Pixel" Noble
2bc5e3ac40
Moving visibility and package creation to the build system.
7 years ago
Mark D. Roth
5dd24897a5
Do multiple reads if needed to read full server response.
8 years ago
ncteisen
969b46ef73
Add rich closure debug mode
8 years ago
ncteisen
274bbbe6a0
Add rich closure debug mode
8 years ago
Craig Tiller
ae6083674a
clang-format
8 years ago
Craig Tiller
8239b80459
Ensure a poller exists
8 years ago
Craig Tiller
0f016bdcf7
Fix test verification
8 years ago
Jan Tattermusch
4d5c3102a1
fix remaining license notices
8 years ago
Jan Tattermusch
7897ae9308
auto-fix most of licenses
8 years ago
Nicolas "Pixel" Noble
af6c83f9e1
Adding dummy layering check option.
8 years ago
Nicolas "Pixel" Noble
0444d98f17
C99->C89.
...
F-it. My sanity isn't worth it.
8 years ago
Craig Tiller
339e421b29
Change endpoint interface to declare poller coveredness
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
Nicolas "Pixel" Noble
15cd5ce2ed
Rewriting core tests BUILD files to use the build system.
8 years ago
Craig Tiller
e3593d912b
Fix sanity
8 years ago
Craig Tiller
af76743e33
Optionalize compress, gather all the http2 filter bits together in ext/
8 years ago
Craig Tiller
dd36b15315
Call ref/unref, bugfixes
8 years ago
Craig Tiller
547cb4b283
Make chunk sizes configurable, push channel args down a little deeper
8 years ago
Sree Kuchibhotla
b5b6bfd89b
Updates C Core
8 years ago
ncteisen
4b36a3d9ea
Change error_create API to slice
8 years ago
Sree Kuchibhotla
1dbd981cf8
Prefix grpc_cq_polling_type enums with GRPC_CQ_
8 years ago
Sree Kuchibhotla
321881d07f
Change Core to use the new completion_queue_create API
8 years ago
Robbie Shade
ca7effcdff
Replace timeout/scaling macros with functions.
8 years ago
Craig Tiller
cda759d658
Add an error to fd_shutdown (and recursively)
...
Allows diagnosing WHY a file descriptor was shutdown prematurely.
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
yang-g
43dc9ed3b7
Add licenses to all BUILD files and missing copyright
8 years ago
Craig Tiller
2e900b1fe3
Fix large metadata test - it was previously overconstrained now that we return better status
8 years ago