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
9 years ago
Craig Tiller
4c06b820e0
Add a test of non-blocking API behavior
...
... also fix things that were broken :)
9 years ago
Craig Tiller
5ddbb9d405
Allow specific pollers to be woken
...
Currently, if two threads call grpc_completion_queue_pluck on the same
completion queue for different tags, there is a 50% chance that we
deliver the completion wakeup to the wrong poller - forcing the correct
poller to wait until its polling times out before it can return an event
up to the application.
This change tweaks our polling interfaces so that we can indeed wake a
specific poller.
Nothing has been performance tuned yet. It's definitely sub-optimal in a
number of places. Wakeup file-descriptors should be recycled. We should
have a path that avoids calling poll() followed by epoll(). We can
probably live without it right at the second though.
This code will fail on Windows at least (I'll do that port when I'm in the office and have a Windows
machine).
9 years ago
Craig Tiller
6a7626c98f
Move alarm subsystem to monotonic time
9 years ago
Craig Tiller
f3756c1e0d
Introduce multiple clocks to GPR
10 years ago
Craig Tiller
9a57633233
clang-format affected files
10 years ago
Craig Tiller
356961916d
Remove all uses of __FUNCTION__
10 years ago
Craig Tiller
9d9735f7d9
Port endpoint tests to pollsets
10 years ago
Craig Tiller
8ad8a41a84
Introduce slowdown factor for unit test deadlines
...
Dramatically lowers (eliminates maybe?) false negatives from ?SAN runs.
10 years ago
Craig Tiller
190d360def
Add missing new-lines at end of file
10 years ago
Craig Tiller
0605995e55
Update copyright to 2015
10 years ago
Yang Gao
5fd0d29dfe
run clang-format
10 years ago