Yash Tibrewal
8d47cd4992
Revert "Revert "Fathom tcp changes""
6 years ago
Jan Tattermusch
97ba943f17
Revert "Fathom tcp changes"
6 years ago
Yash Tibrewal
f0397933b0
Fathom TCP level changes. TracedBuffer for keeping track of all buffers
...
to be traced. Adding tests for Fathom and TracedBuffer. A lot more.
Please read PR description.
6 years ago
Noah Eisen
4d20a66685
Run clang fmt
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
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
c354269ba7
Remove _ prefixed variable names
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
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
Yash Tibrewal
7cdd99c86e
Adding more pointer type conversions
7 years ago
Craig Tiller
0ff222a23b
Add pollset_kick stats
7 years ago
Craig Tiller
9a8c3f398a
Explicitly call out round up vs round down
7 years ago
Craig Tiller
c0df1c0f9a
Compiling again
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
Craig Tiller
26e69f6534
clang-format
8 years ago
Craig Tiller
cfa8313fbb
Fix race
8 years ago
Craig Tiller
2d485f0396
Fix threading assumptions in test
8 years ago
Craig Tiller
dc3998e710
Converting code
8 years ago
Craig Tiller
339e421b29
Change endpoint interface to declare poller coveredness
8 years ago
ncteisen
4b36a3d9ea
Change error_create API to slice
8 years ago
Robbie Shade
ca7effcdff
Replace timeout/scaling macros with functions.
8 years ago
Craig Tiller
cda759d658
Add an error to fd_shutdown (and recursively)
...
Allows diagnosing WHY a file descriptor was shutdown prematurely.
8 years ago
Craig Tiller
91031dacb1
Changes to exec_ctx/closure/combiner/workqueue interfaces
...
- make closures know where they should be executed (eg, on a workqueue,
or a combiner, or on an exec_ctx)
- this allows removal of a large number of trampoline functions that
were appearing whenever we used combiners, and should allow for a much
easier interface to combiner locks
8 years ago
Craig Tiller
a59c16c184
Progress towards making grpc_slice_unref_internal take an exec_ctx
8 years ago
Craig Tiller
28b72428a8
clang-format
8 years ago
Craig Tiller
618e67d655
s/GPR_SLICE/GRPC_SLICE/g
8 years ago
Craig Tiller
b37d53ebc0
Bulk update #includes
8 years ago
Craig Tiller
d41a4a720f
s/gpr_slice/grpc_slice, and move around tests, impls
8 years ago
Craig Tiller
c8762faf46
clang-format code
9 years ago
Craig Tiller
aee10fd73c
Fix windows tests for idempotent shutdown
9 years ago
Craig Tiller
c7ab6dba00
Add a byte to avert a crash (which should be investigated sometime)
9 years ago
Craig Tiller
52f231212f
Make {endpoint,fd}_shutdown idempotent
9 years ago
Craig Tiller
95123ceb9b
Add a test for multiple endpoint shutdowns
9 years ago
Yuchen Zeng
64c0e8d4bc
Add format check for gpr_log and gpr_asprintf
9 years ago
Mark D. Roth
34ee7e1bc3
Use bool instead of int.
9 years ago
Mark D. Roth
8f42fcc716
Work-in-progress on fixing endpoint tests.
9 years ago
Craig Tiller
4f1d0f337b
Error reporting progress
9 years ago
Craig Tiller
ddad978996
API fuzzer compiles with new error handling
9 years ago
Craig Tiller
6169d5f7b0
Update copyrights
9 years ago
Nicolas "Pixel" Noble
7c9a154803
Sanitize mallocs and frees.
9 years ago
Craig Tiller
69b093b360
Revert "Revert "Add an implementation firewall against pollset_set""
9 years ago
Vijay Pai
e9ef536451
Revert "Add an implementation firewall against pollset_set"
9 years ago