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
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
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
Yash Tibrewal
39aed1ae8b
Remove unnecessary extern Cs
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
8e87c74fe9
Fix compilation for C++
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
b4bb1cdce4
Add counters, fix race
7 years ago
Craig Tiller
89c1428a60
Propagate grpc_millis further
7 years ago
Sree Kuchibhotla
a69878a217
fix memory leaks due to not calling grpc_shutdown in bm_cq_multiple_threads
7 years ago
ncteisen
969b46ef73
Add rich closure debug mode
8 years ago
ncteisen
274bbbe6a0
Add rich closure debug mode
8 years ago
Jan Tattermusch
7897ae9308
auto-fix most of licenses
8 years ago
Alexander Polcyn
f5521c33f9
Revert "Merge branch 'master' into v1.3.x"
...
This reverts commit 79759fea1a
, reversing
changes made to dc36f4df6a
.
8 years ago
Craig Tiller
cc92eb42a4
Update to new API
8 years ago
Sree Kuchibhotla
d7a1b8f856
Functionality complete
8 years ago
Sree Kuchibhotla
1f0c827114
Fix asan and tsan bugs. Simplify the code
8 years ago
Sree Kuchibhotla
93b60e05a0
Fix asan bug
8 years ago
Sree Kuchibhotla
dc0b8a60d3
change cq_create to cq_create_for_next
8 years ago
Sree Kuchibhotla
631e78c349
Print items/sec metric at the end
8 years ago
Sree Kuchibhotla
f7c673a8c7
minor change
8 years ago
Sree Kuchibhotla
2c3e7e80bd
use wallclock
8 years ago
Sree Kuchibhotla
3c754e4716
Microbenchmark for measuring impact of multiple threads calling cq_next
8 years ago