Nicolas "Pixel" Noble
2b6feb8df0
Preventing huge stacks in timer_heap_test.
9 years ago
Nicolas "Pixel" Noble
b9012fc03c
Fixing bitrotting in udp_server_test.c
9 years ago
Craig Tiller
5f3ba8c834
Copyright, casting fixes
9 years ago
Craig Tiller
a39c199562
clang-format
9 years ago
Craig Tiller
0e6e34e4fa
Add an additional test
9 years ago
Craig Tiller
9d1476364a
Fix timers
9 years ago
Craig Tiller
7c075b3953
Remove broken test
...
This test is inherently flaky and I don't see any way to make it not so.
Historically this test has not (in my memory) given any signal that something is actually broken.
Let's save maintenance and just nuke it.
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
85371a2bb0
Change pollset mutex ownership
9 years ago
Craig Tiller
c605c62b30
Update copyrights
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
f290e30d08
Finish porting posix
9 years ago
Craig Tiller
cb6c7f66d3
Fix test
9 years ago
Craig Tiller
d0a8ae1266
Move worker into pollset
9 years ago
Craig Tiller
311445fd32
Fix tcp_client_posix_test
9 years ago
vjpai
fcc8f89eea
Fix copyright
9 years ago
David Garcia Quintas
4feb3502c2
Fixed header dependencies and copyrights
9 years ago
Bogdan Drutu
f89fdf39df
Fix the arguments type for on_read and destroy callbacks to match with grpc_iomgr_cb_func
9 years ago
Craig Tiller
ccdea1900f
Separate timer checking from pollsets
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
Dan Born
36b24109a4
clang reformat
9 years ago
Dan Born
9c12bc252e
Add shutdown_starting callbacks to tcp_server.
...
tcp_server_posix_test illustrates how this can be used to implement a
weak referencing mechanism.
9 years ago
Dan Born
b13a69da41
tcp_server_posix_test fixes.
...
Use grpc_shutdown() instead of grpc_iomgr_shutdown() to prevent
grpc_pick_unused_port_or_die() from inappropriately destroying global
state. Fix port allocation issues.
9 years ago
Dan Born
d890a217da
Fix port allocation in test.
9 years ago
Dan Born
a78ca38e10
clang reformat.
9 years ago
Dan Born
601acadc91
Test a server with multiple ports
9 years ago
Dan Born
725ee28af8
Extend Copyrights to 2016
9 years ago
Dan Born
5d81d15260
Code review follow-up.
9 years ago
murgatroid99
3466c4b55d
Updated copyrights
9 years ago
Dan Born
fa6b606898
Make grpc_tcp_listener private.
9 years ago
Dan Born
a7ed54cba7
Don't use ep after destroy in the test.
9 years ago
Dan Born
76d21f9b10
Unit tests for new functions
9 years ago
Craig Tiller
7536af02cf
Eliminate gpr_ int types - and insist on C99 variants instead
9 years ago
Craig Tiller
620e965c1b
clang-format after last weeks test-fest
9 years ago
Craig Tiller
27493204fc
Add tests for socket utilities
9 years ago
Craig Tiller
d55171c6cb
Add tests for set/get port
9 years ago
Jan Tattermusch
88086373db
make gpr_timespec platform agnostic
9 years ago
Craig Tiller
2908a76181
Exclude UDP code for now
9 years ago
Craig Tiller
97b51c06ad
Cover more of workqueue
9 years ago
yang-g
5d85037748
update api
9 years ago
yang-g
58f8049645
Add a test
9 years ago
yang-g
dc2159309a
Release fd api
9 years ago
David Garcia Quintas
661ad7fc85
We need the iomgr_init for winsocks initialization.
...
Also fixed (thanks @nicolasnoble ) wrong construction of error msg.
9 years ago
David Garcia Quintas
4bc3463108
Introducing grpc_executor, for all your threading needs
9 years ago
Robbie Shade
c6787b263f
Fix broken udp_server_test, by adding exec_ctx to read_cb
9 years ago
David Garcia Quintas
f747bbc043
s/grpc_alarm/grpc_timer && s/grpc_cq_alarm/grpc_alarm
9 years ago
Robbie Shade
a8e2e5263d
Pass through grpc_fd pointer rather than int.
9 years ago