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
Alistair Veitch
0383d494c4
version 1
9 years ago
vjpai
b28456b1e4
Add dynamic thread pool and initial port of test
9 years ago
Alistair Veitch
b46f3f400e
fix build
9 years ago
Craig Tiller
698d00c60e
Add ipv4:, ipv6: schemes
9 years ago
Alistair Veitch
635899d062
rebuild makefile
9 years ago
Hongwei Wang
a3780a8102
Register zookeeper plugin in grpc
9 years ago
yang-g
7ef7232dd9
split iterator into its own file
9 years ago
Hongwei Wang
da8858ff70
Add grpc_zookeeper in build.json
9 years ago
vjpai
a2e1bb1577
Change name of thread_pool files to fixed_size_thread_pool when
...
appropriate
10 years ago
Craig Tiller
48cb07c909
Client connectivity API
...
Initial plumbing work; needs tests and more client_channel
implementation.
10 years ago
Vijay Pai
69f2410086
Make thread_pool.h a public header
...
Rename ThreadPool -> FixedSizeThreadPool to allow for later introduction
of DynamicSizeThreadPool
10 years ago
Vijay Pai
005e305c22
Initial checkin commit for lockfree stack.
...
Tests not yet included.
10 years ago
Robbie Shade
6953529365
Updated build.json, regenerated project files.
10 years ago
Craig Tiller
2e622bc16a
Add a version string and a function to retrieve it
10 years ago
jboeuf
69cb6b41c8
Backport of pull request #2313 into release-0_10.
10 years ago
Hongwei Wang
275860bf9c
Add zookeeper resolver
10 years ago
yang-g
85c04f938f
resolve comments
10 years ago
yang-g
3abe60b9d0
compiles
10 years ago
Jorge Canizales
3beb240544
Minor doc fix in BUILD and BUILD.template
10 years ago
Julien Boeuf
feca1bf06c
Adding JWT verifier.
...
Still missing:
- Caching of the already checked JWTs (although it could be done at an
upper layer).
- Caching of the jwks_uri to avoid 2 roundtrips for each verification.
10 years ago
Jorge Canizales
50f198260e
Add Bazel target for ObjC gRPC runtime
10 years ago
murgatroid99
24e2f4ad84
Added pkg-config checking to Makefile where possible
10 years ago
Craig Tiller
08a1cf8f4f
Use connectivity state tracking code in chttp2 transport
10 years ago
Craig Tiller
acf0f07dfc
Unix resolver, bug fixes
10 years ago
Jorge Canizales
bba8076ed4
Fix indents of rx_library blaze target
10 years ago
Jorge Canizales
bb54ae8073
Add roots.pem bundle to the Bazel target, and use a better bundle name.
10 years ago
Jorge Canizales
866255ec29
Add BUILD target for GRPCClient
10 years ago
Craig Tiller
c7b5f7605e
Factor out channel state watching
10 years ago
Jorge Canizales
4dc4e3dffb
Blaze dependency on //external:libssl_objc
10 years ago
Jorge Canizales
7b1a0ca2dd
Switch to grpc secure
10 years ago
Nicolas "Pixel" Noble
d35f93d1b3
Merges broke the build - regenerating.
10 years ago
Craig Tiller
916246625b
Introduce connector, to help subchannel connect
10 years ago
Craig Tiller
e039f03383
Plumbing transport_op changes through
10 years ago
Craig Tiller
f5f1712e1f
Refactoring progress towards integrating client configs
10 years ago
Craig Tiller
f75fc12e3a
Add a test that headers are properly in build.json
...
Clean up anything that failed
10 years ago
Craig Tiller
3bc8ebd48e
Implementation work for client_config
...
- uri parsing
- dns resolution
10 years ago
Jorge Canizales
91e67a2ddf
Regenerate BUILD file (merge didn’t add whitespace)
10 years ago
Jorge Canizales
8c1fd042e4
Add libz dependency to grpc_unsecure_objc
10 years ago
Jorge Canizales
140bca8c5c
Generate objc_library for grpc_unsecure & gpr
10 years ago
Jorge Canizales
44dc423f99
Add BUILD target for Objective-C's RxLibrary
...
Part of https://github.com/grpc/grpc/issues/2120
Depends on https://github.com/grpc/grpc/pull/2193
10 years ago
Craig Tiller
af69180478
Flesh out things and make them compile
10 years ago
yang-g
adfed03146
Add missing headers to build.json
10 years ago
murgatroid99
f680af055e
Regenerated files
10 years ago
Jorge Canizales
fe8ad73ab7
Add pollset_set.h to build.json
10 years ago
murgatroid99
7da8b1a651
Added missing but included headers to build.json
10 years ago
David Garcia Quintas
55b4ea1f07
WIP. Compiles and tests pass. Need to write specific tests.
10 years ago
Craig Tiller
6459db484a
New chttp2 list implementation
10 years ago
Craig Tiller
5dc3b30964
Progress on splitting things up
10 years ago
Craig Tiller
d20efd26e3
Progress on splitting things up
10 years ago