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
ncteisen
c7d1f93e76
Fix windows
7 years ago
ncteisen
6ab0ba8df5
clang fmt
7 years ago
ncteisen
65dbb9df64
Add test for RecvStatus error_string API
7 years ago
Yash Tibrewal
03412ee9de
Remove TLS_NO_SUPPORT and always use GPR_TLS. Reorder statements in grpc_init and grpc_shutdown. Add grpc_init and grpc_shutdown in failing test/cpp tests
7 years ago
Yash Tibrewal
81fc8c9c33
Fix tests to call grpc_init and grpc_shutdown before using exec_ctx
7 years ago
ncteisen
fe354eb807
Fix the fuzzers
7 years ago
ncteisen
0c81dc40de
Remove uneeded header, fix unused warn
7 years ago
Yash Tibrewal
a13a8c0f3e
A few src/core fixes due to missing exec_ctx_finish
7 years ago
Mark D. Roth
e36d9eaa2c
Fix some dumb typos.
7 years ago
ncteisen
6dc1097c5e
Fix test cert build
7 years ago
ncteisen
abbdbf9374
Attempt to fix TSAN
7 years ago
ncteisen
46f9175ba3
Fix windows build
7 years ago
ncteisen
66dfcf5919
clang fmt
7 years ago
ncteisen
0e6b5b3ba3
Un extern the fuzzers
7 years ago
ncteisen
adbfbd5977
Remove all extern C
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
Yash Tibrewal
c284139d2f
Remove include from end2end data files and add extern C to each definition instead
7 years ago
Yash Tibrewal
67c0effd32
MacOS uses end2end tests. therefore extern C needed
7 years ago
Yash Tibrewal
1b4ab01f79
No Clang on end2end generated files
7 years ago
Craig Tiller
baa14a975e
Update clang-format to 5.0
7 years ago
Yash Tibrewal
b930632795
objC needs C linkage
7 years ago
Yash Tibrewal
11a518995e
LLVMfuzzer extern C
7 years ago
Yash Tibrewal
2aa79cbfd3
changes for bazel and test certificates
7 years ago
Yash Tibrewal
77532036b6
BUILD changes. test languauge to C++
7 years ago
Yash Tibrewal
8e1a163a97
windows linker errors
7 years ago
Yash Tibrewal
4d71636fcc
some BUILD changes and designated initializers
7 years ago
Yash Tibrewal
f8a6c8297c
Changes to build other platforms
7 years ago
Mark D. Roth
76d0ec4a73
Fix a bunch of dumb service config parsing bugs.
7 years ago
Yash Tibrewal
39aed1ae8b
Remove unnecessary extern Cs
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
Craig Tiller
9f9f0f82f3
Review feedback
7 years ago
Craig Tiller
3273648a87
flow control fixes
7 years ago
Craig Tiller
1c3dd002b9
Be consistent with Java
7 years ago
Vijay Pai
4f0cd0e82c
Add flow control to inproc transport so send needs a matching recv; fix
...
some tests that assumed some sends could always go out
7 years ago
Craig Tiller
85516af26a
Fix tests
7 years ago
Muxi Yan
4c7bc85bd8
Revert changes to "identity" "deflate" "gzip" "stream-gzip" compression algorithm names at surface API
...
This reverts commit 6360274841
.
This reverts commit 33d7a7aa5a
.
7 years ago
Vijay Pai
fed13916b0
Move h2_ssl_cert_test out of end2end fixtures, use gtest
7 years ago
Muxi Yan
6360274841
Make the names of compression algorithms backwards compatible at surface API
7 years ago
Yash Tibrewal
bdf998a184
Fix compression tests for when they expect the client to receive the completion tag
7 years ago
Muxi Yan
68ee7ce732
clang-format
7 years ago
Muxi Yan
e6d888d0a0
Change C core surface API
7 years ago
Craig Tiller
3c52038868
Fix memory leak
7 years ago
Craig Tiller
604a7ca07b
Reduce stack size of simple_request e2e test
7 years ago