Vijay Pai
b6cf123717
Privatize thread-local storage headers
7 years ago
Vijay Pai
8a99fdb57e
Move cmdline and subprocess from public gpr to test/core/util
7 years ago
Jan Tattermusch
2094ad7427
fix -Wmemset-elt-size warning in gcc7.2
7 years ago
Vijay Pai
28b6a44637
Migrate all remaining features of core test to C++ layer test
7 years ago
Vijay Pai
2b226adf60
Remove alarm from core, implement in C++ layer only
7 years ago
Jan Tattermusch
a6ff754b93
fix alarm test flake on windows
7 years ago
Vijay Pai
1d91362f81
exec_ctx_fwd.h should never have been in public headers
7 years ago
Muxi Yan
38fcd0c6c3
clang-format
7 years ago
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
Vijay Pai
19988c6c7e
clang-format
7 years ago
Vijay Pai
195cf1ebfd
Move histogram to test/core/util
7 years ago
Dave MacLachlan
da341bcb89
Fix up review comments
7 years ago
Jan Tattermusch
4f25daa7af
dont let server shutdown run forever
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
26e934245d
Fix race conditions and more grpc_inits required. csharp tests will be fixed in a different PR
7 years ago
Yash Tibrewal
81fc8c9c33
Fix tests to call grpc_init and grpc_shutdown before using exec_ctx
7 years ago
Yash Tibrewal
518236d458
Remove unnecessary if condition in public_headers_must_be_c89
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
Yash Tibrewal
3150744c71
Removing more exec_ctx instances
7 years ago
Craig Tiller
baa14a975e
Update clang-format to 5.0
7 years ago
Yash Tibrewal
cd987a0b2f
Adding public_headers_must_be_c89 as a clang exception
7 years ago
Yash Tibrewal
2f921a3f97
Remove grpc_slice_buf_cmp and change public_headers_must_be_c89 to print the addresses of public api functions to check if they can be linked to
7 years ago
Yash Tibrewal
77532036b6
BUILD changes. test languauge to C++
7 years ago
Yash Tibrewal
e586324627
BUILD files changes for bazel
7 years ago
Yash Tibrewal
34a57d0346
rename all test core files to cc and a lot of C++ style conversions
7 years ago
Ken Payson
42bd87e376
Adds gRPC Experimental CQ DoThenAsyncNext lambda API
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
Ken Payson
9714e0376a
Add thread pool reset on fork with FORKING_SUPPORT_ENABLED
7 years ago
Muxi Yan
f7a97e19cf
build_project
7 years ago
Nicolas Noble
850568944a
Fixing init-test timeout.
7 years ago
Yash Tibrewal
f49ab12975
Some final linker and build issues. Also, resolving invalid_channel_args_test
7 years ago
Muxi Yan
68ee7ce732
clang-format
7 years ago
Muxi Yan
e6d888d0a0
Change C core surface API
7 years ago
Vijay Pai
efce6e1e50
Revert "Revert "Allow SerializationTraits to use grpc::ByteBuffer rather than only grpc_byte_buffer""
7 years ago
Jan Tattermusch
5432dd8874
Revert "Allow SerializationTraits to use grpc::ByteBuffer rather than only grpc_byte_buffer"
7 years ago
Vijay Pai
677395558d
Allow SerializationTraits to use grpc::ByteBuffer, not just grpc_byte_buffer
7 years ago
Vijay Pai
58c33ba19b
Decouple alarm construction from setting to avoid races in MT code
7 years ago
Craig Tiller
0ff222a23b
Add pollset_kick stats
7 years ago
Nicolas "Pixel" Noble
2bc5e3ac40
Moving visibility and package creation to the build system.
7 years ago
yang-g
9ff6031014
Add sync_custom.h
7 years ago
yang-g
7d6b914f98
Change return type to bool
7 years ago
yang-g
0eaf7debd2
Allow adding events to cq after shutdown is called.
7 years ago
Craig Tiller
c0df1c0f9a
Compiling again
8 years ago
Craig Tiller
e251fbac20
clang-format
8 years ago
Craig Tiller
a7e5a0bd9c
Add a test of repeatedly calling grpc_init then grpc_shutdown
8 years ago