Soheil Hassas Yeganeh
c239e0416d
Initialize time as part of basic initialization.
...
`gpr_time_init` must happen in `do_basic_init`, because
for normal initialization we may need the precise clock
(e.g., if profilers are enabled).
Otherwise, we will have an stack overflow.
Fixes #18589
6 years ago
yang-g
456f748b2f
Revert "Merge pull request #18146 from grpc/revert-17308-shutdown"
...
This reverts commit 9079e98dfc
, reversing
changes made to 76a38bfcc2
.
6 years ago
Yang Gao
4bc2ca4de6
Revert "Move grpc_shutdown internals to a detached thread"
6 years ago
yang-g
6b67506bae
Add back tracked
6 years ago
yang-g
86b23adc7f
Other comments
6 years ago
yang-g
545c555d31
Rename new public API
6 years ago
yang-g
63aa8e1d73
clang-format
6 years ago
Arjun Roy
195a30bb8b
Grpc: Change grpc_handshake and grpc_handshake_mgr to use CPP implementations.
...
grpc_handshake is renamed to GrpcHandshake, using C++ class definitions
instead of C-style vtable classes. Update callers to use new interfaces.
We use RefCountedPtr to simplify reference tracking.
6 years ago
Vijay Pai
5b7f0532ac
Properly init TLS for callback exec context
6 years ago
Vijay Pai
44402ad0a1
Make executor look more like the rest of the codebase (namespace, etc)
6 years ago
yang-g
bd5d86935f
revert the sample
6 years ago
yang-g
d758ca9196
clang-format
6 years ago
yang-g
e00ca0371a
Promote gpr_test_util to part of grpc_test_util, add a sample to show it works, build.yaml change first
6 years ago
yang-g
864cea2081
clang-format
6 years ago
yang-g
cdd698810b
Move grpc_shutdown internals to a detached thread
6 years ago
Guantao Liu
be5eea1f42
Extend ev_posix.* to prepare for the new background poller 'epollbg',
...
and get rid of the dependency loop on the grpc shutdown path. Make sure
all background closures are complete before shutting down the other grpc
modules.
Avoid using the backup poller in TCP endpoints if using the background
poller.
6 years ago
Muxi Yan
04cef1fd19
Revert "Prevent dead-stripping by explicitly calling init"
...
This reverts commit d0539dcc36
.
6 years ago
Muxi Yan
d0539dcc36
Prevent dead-stripping by explicitly calling init
6 years ago
Soheil Hassas Yeganeh
48e4a81b05
Remeve memset(0) from arena allocated memory.
...
Callers are updated to properly initialize the memory.
This behavior can be overridden using GRPC_ARENA_INIT_STRATEGY
environment variable.
7 years ago
Yang Gao
b840d5e45c
Revert "Add more filter priority levels"
7 years ago
yang-g
d6ef707422
Add more filter priority levels
7 years ago
ncteisen
9a6c722e30
Rewrite registry to know type
7 years ago
ncteisen
3be52f9bcc
C++-ize the registry
7 years ago
ncteisen
bba8840a4b
Change filename to channelz
7 years ago
kpayson64
701e70da07
c++ify
7 years ago
kpayson64
38ab21ee09
Add exec_ctx check to fork handlers
7 years ago
jiangtaoli2016
4fe2cd2555
Init default root certs store once
7 years ago
jiangtaoli2016
144f5559da
cache default SSL root cert store
7 years ago
ncteisen
3b42f83068
Revert "Revert "Channel Tracing Implementation; Part 1""
...
This reverts commit f2bea3725f
.
7 years ago
Noah Eisen
f2bea3725f
Revert "Channel Tracing Implementation; Part 1"
7 years ago
David Garcia Quintas
961353ab6d
moved filter to ext
7 years ago
David Garcia Quintas
aa843f2bfc
Testing making the authority filter a plugin, for cronet
7 years ago
David Garcia Quintas
c7c0d69d8b
Secure channels: use the right authority
7 years ago
ncteisen
1cc064dbfc
Reviewer feedback, s/object_registry/channel_trace_registry
7 years ago
Vijay Pai
da69355f30
C++ize gpr_thread as grpc_core::Thread, make it 2-phase init (construct/Start)
7 years ago
Vijay Pai
c745690caf
Internalize gpr_thd except for id and currentid
7 years ago
Noah Eisen
be82e64b3d
Autofix c casts to c++ casts
7 years ago
yang-g
8f65906521
Shutdown timer manager first and then executor
7 years ago
ncteisen
34ebf5dd9e
Move object registry out of gpr
7 years ago
Vijay Pai
2b226adf60
Remove alarm from core, implement in C++ layer only
7 years ago
Mark D. Roth
dbdf495f61
Split lib/support into lib/gpr and lib/gpr++.
7 years ago
ncteisen
7d9b6358b5
Initial commit
...
Picks up work from https://github.com/grpc/grpc/pull/10259 .
A merge was impossible due to the many sweeping changed that
have occured since I last touched that PR (c++-ization, exec_ctx,
reorganitation of filters, etc).
7 years ago
Yash Tibrewal
caaf416eba
virtual destructor in exec_ctx, remove unneeded flush in grpc_shutdown and remove grpc_exec_ctx from .pxi files in python
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
Yash Tibrewal
65c45fbb4d
Revert ordering of tracers and timers in shutdown
7 years ago
Yash Tibrewal
c354269ba7
Remove _ prefixed variable names
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