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
Craig Tiller
a8be91b315
Provide an interface firewall between pollset and its implementations
...
Starting to allow for >1 implementation of pollset within a binary.
Do so without requiring an extra allocation for completion queues (which
we could not tolerate).
9 years ago
Craig Tiller
d0a8ae1266
Move worker into pollset
9 years ago
Alistair Veitch
75d5c0f024
post merge
9 years ago
Craig Tiller
a93a25f7bc
Update copyrights
9 years ago
Craig Tiller
6c39686dfa
Preparatory changes for work shedding
...
- cleanup: change grpc_iomgr_cb_func to take a bool instead of int
success
- cleanup: follow through with iomgr callback scheduling functions
- prepare: add a workqueue to offload to to grpc_exec_ctx_enqueue*
functions
9 years ago
Craig Tiller
7536af02cf
Eliminate gpr_ int types - and insist on C99 variants instead
9 years ago
Craig Tiller
a82950e683
clang-format all core files
9 years ago
Craig Tiller
8af4c33718
Final patches for rename
9 years ago
Craig Tiller
e7db29f8c7
Move argument passing to start of list
9 years ago
Craig Tiller
f5768a6765
Rename init
9 years ago
Craig Tiller
098047b53a
Rename run
9 years ago
Craig Tiller
9f7dc3a4e5
Move argument passing to start of list
9 years ago
Craig Tiller
1be70ccdb8
Move arguments to the start of lists
9 years ago
Craig Tiller
45724b35e4
indent pass to get logical source lines on one physical line
9 years ago
Craig Tiller
d9ccbbf6b9
Rename call_list to closure_list
9 years ago
Craig Tiller
d9fdaf204c
Fix tests
9 years ago
Craig Tiller
dfff1b8126
Call list progress
9 years ago
Craig Tiller
d1bec03fa1
Call list progress
9 years ago
Craig Tiller
33825118df
Cleanup
9 years ago
Craig Tiller
6a6b36c503
Enable -Wconversion
9 years ago
Craig Tiller
f406f6c448
Fixed build
9 years ago
Craig Tiller
9f80fcf8e7
Cleaning up Windows endpoint code
...
- removed the need to track some state
- fixed chttp2 transport endpoint shutdown management
- made a bunch of tests pass
9 years ago
Craig Tiller
b029859e58
Revert "Revert "Refactor Endpoint API""
9 years ago
Craig Tiller
99d7b661be
Revert "Refactor Endpoint API"
9 years ago
Craig Tiller
592e7f2dd0
Refactor Endpoint API
...
- Allow reads to complete immediately
- Unify read/write signatures
- Simplify memory management to allow future optimization work
10 years ago
Craig Tiller
4c06b820e0
Add a test of non-blocking API behavior
...
... also fix things that were broken :)
10 years ago