Noah Eisen
4d20a66685
Run clang fmt
7 years ago
Noah Eisen
cddf6f838a
Add some manual const casts to fix build
7 years ago
Noah Eisen
be82e64b3d
Autofix c casts to c++ casts
7 years ago
Vijay Pai
d4d0a30c6f
Privatize useful.h and avl.h
7 years ago
Mark D. Roth
dbdf495f61
Split lib/support into lib/gpr and lib/gpr++.
7 years ago
Mehrdad Afshari
fb66900a9a
Eliminate GRPC_LINUX_LEGACY_EPOLL
...
Rename:
GRPC_LINUX_LEGACY_EPOLL to GRPC_LINUX_EPOLL, and
GRPC_LINUX_EPOLL to GRPC_LINUX_EPOLL_CREATE1
7 years ago
Dan Zhang
3742b724c9
change to int type
7 years ago
Dan Zhang
9ee9c924d8
change to pass in value
7 years ago
ncteisen
9be168be0c
Missing s/NULL/nullptr
7 years ago
ncteisen
5219f3f4c1
Missing s/NULL/nullptr
7 years ago
Dan Zhang
0c2fc922a6
fix data race in shutdown_and_destroy_pollset
7 years ago
Dan Zhang
40ebe9af7f
fix typo
7 years ago
Dan Zhang
8fba583796
fix udp_server_test flakiness
7 years ago
Dan Zhang
4d48a3d3e7
format change
7 years ago
Dan Zhang
0d18814106
Add a start_cb to grpc_udp_listener to be called when listener is
...
created.
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
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