Vijay Pai
e9ef536451
Revert "Add an implementation firewall against pollset_set"
9 years ago
Craig Tiller
36f8f88529
Fix crash on mac
9 years ago
Craig Tiller
1d7704d7a1
Fix windows
9 years ago
Craig Tiller
85371a2bb0
Change pollset mutex ownership
9 years ago
Craig Tiller
9114a142c9
Port pollset worker changes to windows
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
murgatroid99
7a55684a13
Clang format and fix copyrights
9 years ago
murgatroid99
309830f6b8
Replace 'long' with 'int64_t' in public core headers
9 years ago
Alistair Veitch
75d5c0f024
post merge
9 years ago
Craig Tiller
c085e5c061
Fix copyrights
9 years ago
Craig Tiller
eced8ae3b3
Fix windows
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
2c1c7d5473
Fix copyrights
9 years ago
Craig Tiller
b0f275e4af
Small testing fixes
...
- end2end test deadlines may complete before checking IsCancelled
=> don't expect it to be false in these cases
- add exponential backoff to port_posix
- ensure run_tests rebuilds targets with a regex I commonly use
9 years ago
Dan Born
725ee28af8
Extend Copyrights to 2016
9 years ago
Dan Born
5d81d15260
Code review follow-up.
9 years ago
Dan Born
fa6b606898
Make grpc_tcp_listener private.
9 years ago
Craig Tiller
7536af02cf
Eliminate gpr_ int types - and insist on C99 variants instead
9 years ago
Craig Tiller
4bf292890c
Fix proxy end2end tests
...
Some transport callbacks weren't getting triggered. We now ensure that
this always occurs.
Additionally: left some debug only code around to make this class of bug
easier to diagnose in the future.
9 years ago
Craig Tiller
7b4356194d
Finish initial scrape, clang-format
9 years ago
yang-g
f8843fb58c
fix build and windows test
9 years ago
Nicolas Noble
5eb4e1caef
Adding grpc_tcp_listener as an actual object being returned.
9 years ago
yang-g
c9fca1813a
refacto of the reconnect tcp server to a general purpose test tcp server to be reused by the set_initial_string_test
9 years ago
Craig Tiller
0d6499e7e1
Add more verbose traces for port_server usage
9 years ago
Craig Tiller
c6c3189f3d
Add more verbose traces for debug output
9 years ago
Craig Tiller
2c0b91d4ff
Dont call malloc either
9 years ago
Craig Tiller
3a12dcfd06
Fixes
9 years ago
Craig Tiller
4e710f5e13
Remove stdio usage from signal handler
9 years ago
Craig Tiller
73c4e87670
Fix mac build
9 years ago
Craig Tiller
ecc4f9c694
Fix mac build
9 years ago
Craig Tiller
2bc37297c8
Enable backtraces on C tests
9 years ago
Craig Tiller
565b18b69c
clang-format all core files
9 years ago
Craig Tiller
82f9bd84e5
Update Windows stuff
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
af73d78b78
clang-format all core files
9 years ago
Craig Tiller
d9ccbbf6b9
Rename call_list to closure_list
9 years ago
Craig Tiller
dfff1b8126
Call list progress
9 years ago
Craig Tiller
d1bec03fa1
Call list progress
9 years ago
Craig Tiller
7dc34ac7a0
Fix memory leak
9 years ago
Craig Tiller
404044acc2
Retry failed port get attempts a few times
9 years ago
Craig Tiller
d8374ef194
No need for the assert here
9 years ago
Craig Tiller
ae322afe60
Better port selection
...
- avoid IANA and Linux ephemeral port ranges
- support dropping allocated ports
- aggressively try to reclaim ports if we reach exhaustion
- set SO_REUSEADDR on test port binds
9 years ago