Yash Tibrewal
ad4d2dde00
Revert "All instances of exec_ctx being passed around in src/core removed"
7 years ago
Vijay Pai
a3a4f39121
Update ev_epollsig_linux_test.cc
7 years ago
Dave MacLachlan
da341bcb89
Fix up review comments
7 years ago
Dan Zhang
64d588fc8e
fix compile error
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
Dan Zhang
0f7bc57e11
Modify udp_server to do asynchronous read and write and only re-arm
...
notification when needed.
This change prevents event loop thread from doing actual I/O work which
might take long time.
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
a13a8c0f3e
A few src/core fixes due to missing exec_ctx_finish
7 years ago
ncteisen
aa3b19741f
Rename tracer_peer to tracer_util
7 years ago
ncteisen
c4dd9cfe18
reviewer feedback
7 years ago
ncteisen
b2aa06ae99
Reviewer feedback: friend func not clasS
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
ncteisen
90ffc3a6f7
Add tracer peer to keep set_enabled private()
7 years ago
Yash Tibrewal
75122c2357
Address some PR comments
7 years ago
ncteisen
05fbb9d13d
Fix test compile
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
Craig Tiller
baa14a975e
Update clang-format to 5.0
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
e586324627
BUILD files changes for bazel
7 years ago
Yash Tibrewal
f8a6c8297c
Changes to build other platforms
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
6014e8a945
C++ize tracing
7 years ago
Yash Tibrewal
84bf283218
tcp_server_uv_test changes
7 years ago
Yash Tibrewal
80297d7cd7
uv changes for grpc_pollset_work
7 years ago
Yash Tibrewal
cd58b2dcea
uv changes for grpc_pollset_work
7 years ago
Yash Tibrewal
d6712390a6
tcp_client_uv_test changes
7 years ago
Craig Tiller
39908712be
Fixes
7 years ago
Craig Tiller
2477cf3778
Revert "General executor speedups, introspection"
7 years ago
Yash Tibrewal
a17ad0ce3c
Missing argument in finish_connection in tcp_client_uv_test
7 years ago
Yash Tibrewal
4a6b08aa47
Modifying uv tests to reflect exec_ctx parameter for grpc_pollset_kick
7 years ago
Craig Tiller
3462fd1481
Fix test
7 years ago
Yash Tibrewal
7cdd99c86e
Adding more pointer type conversions
7 years ago
Craig Tiller
53e96fe773
Fix ASAN detected failure
7 years ago
Craig Tiller
f4e5802c2e
Fix ASAN detected failure
7 years ago
Craig Tiller
0ff222a23b
Add pollset_kick stats
7 years ago
Craig Tiller
bcf6ca8d49
Fix crash
7 years ago
Nicolas "Pixel" Noble
2bc5e3ac40
Moving visibility and package creation to the build system.
7 years ago
Craig Tiller
413e95b8ed
Fix crash
7 years ago
Craig Tiller
a0116f36ec
Fix crash
7 years ago
Craig Tiller
1af596adab
fix
7 years ago
Craig Tiller
9a8c3f398a
Explicitly call out round up vs round down
7 years ago
Craig Tiller
203977925c
Linux compile fixes
7 years ago
Yuchen Zeng
d40a7ae6c3
Add already_closed in grpc_fd_orphan
7 years ago
Craig Tiller
c0df1c0f9a
Compiling again
7 years ago
ncteisen
969b46ef73
Add rich closure debug mode
8 years ago