Yash Tibrewal
ad4d2dde00
Revert "All instances of exec_ctx being passed around in src/core removed"
7 years ago
Craig Tiller
e8c47036fb
Update comments
7 years ago
Vijay Pai
3aeff224ed
Remove some dead code from a previous iteration of internal::Call
7 years ago
Craig Tiller
ba5f5cedd6
ServerBuilder interface cleanup
...
Nothing is added or removed in this PR.
Instead, methods are re-ordered so that important methods are read
first, and less important customization methods are seen later.
The intent here is to simplify the "I just want to bring a server up"
code path.
7 years ago
ncteisen
adbfbd5977
Remove all extern C
7 years ago
ncteisen
14c60f1d12
Fix segfault
7 years ago
ncteisen
0354c22d40
Save C++ for follow up PR
7 years ago
Vijay Pai
2cb57e5ef4
Avalanching operations on completion queue should be private, not API
7 years ago
ncteisen
40737d67ee
Add error string to recv status API
7 years ago
Ken Payson
fcfa440b20
Default to 1 cq per sync server
7 years ago
yang-g
b90f0e66e5
relax for inlined bytes to avoid allocation
7 years ago
yang-g
c88185900d
handle 0 byte size message...
7 years ago
yang-g
272eebbbcd
Only allocate what we need in the last slice for proto serialization
7 years ago
Ken Payson
e1533572d5
Add back mpscq request matcher
7 years ago
ncteisen
f97d2f5b37
Add init/shutdown to codegen interface
7 years ago
Vijay Pai
35e14cfc6c
Function shouldn't have semicolon afterward
7 years ago
Craig Tiller
baa14a975e
Update clang-format to 5.0
7 years ago
ncteisen
27a6713db3
Use protected, remove uneeded member variable
7 years ago
ncteisen
023726202a
Refactor SerializationTraits
7 years ago
Vijay Pai
7a648854e9
Adopt the static factory pattern ( #10 )
...
* Switch sync streams from "struct internal" to static factory in namespace internal
* Reduce diff size
* fix friends
* Use static factory pattern for async unary calls
* Use static factories for async streams
* clang-format
7 years ago
Vijay Pai
06e174a088
Separate public and internal C++ interfaces
7 years ago
Ken Payson
42bd87e376
Adds gRPC Experimental CQ DoThenAsyncNext lambda API
7 years ago
Yash Tibrewal
0ee7574732
Removing instances of exec_ctx being passed around in functions in
...
src/core. exec_ctx is now a thread_local pointer of type ExecCtx instead of
grpc_exec_ctx which is initialized whenever ExecCtx is instantiated. ExecCtx
also keeps track of the previous exec_ctx so that nesting of exec_ctx is
allowed. This means that there is only one exec_ctx being used at any
time. Also, grpc_exec_ctx_finish is called in the destructor of the
object, and the previous exec_ctx is restored to avoid breaking current
functionality. The code still explicitly calls grpc_exec_ctx_finish
because removing all such instances causes the code to break.
7 years ago
thinkerou
d582cdf0ae
fix typo
7 years ago
Vijay Pai
953afecaaf
Add an explicit void 2nd parameter to invocation of SerializationTraits
7 years ago
Anna Sapek
1e91362498
Fix param annotation for AddListeningPort()
7 years ago
Juanli Shen
fe40815682
Readd grpclb fallback
7 years ago
Vijay Pai
2046d0b3c5
Add unary call mode to GenericStub to allow generic RPC with 1 CQ trip
7 years ago
Vijay Pai
a44cffa11f
Base the new SerializationTraits API on implicit type conversion rather than SFINAE
7 years ago
Vijay Pai
efce6e1e50
Revert "Revert "Allow SerializationTraits to use grpc::ByteBuffer rather than only grpc_byte_buffer""
7 years ago
Vijay Pai
4b047a3bff
Construction of streams shouldn't require triggering async ops
7 years ago
Jan Tattermusch
5432dd8874
Revert "Allow SerializationTraits to use grpc::ByteBuffer rather than only grpc_byte_buffer"
7 years ago
Ken Payson
01e83b55e4
Revert "Add fallback (use backends from resolver if can't reach balancer) to grpclb."
...
This reverts commit aba0a0a544
.
7 years ago
K.K. Yap
a6721a0979
Comment that IPv6 Any accepts both IPv4 and IPv6 connections.
7 years ago
Vijay Pai
4433973242
Address review comments
7 years ago
Vijay Pai
1c32292c7b
Address reviewer comments
7 years ago
Juanli Shen
aba0a0a544
Add fallback (use backends from resolver if can't reach balancer) to grpclb.
7 years ago
Vijay Pai
66eaa32773
Specify that ServerCompletionQueue must be drained.
7 years ago
Vijay Pai
677395558d
Allow SerializationTraits to use grpc::ByteBuffer, not just grpc_byte_buffer
7 years ago
Vijay Pai
58c33ba19b
Decouple alarm construction from setting to avoid races in MT code
7 years ago
Blair Kutzman
c64be96372
Correct spelling of 'client'.
7 years ago
Craig Tiller
9bebf8b22a
C++ API for write-through
7 years ago
Ken Payson
4754398f81
Clang_format
7 years ago
Ken Payson
567e0f1eb6
Have write ops take ownership over slices
7 years ago
Yuchen Zeng
b4481a9a13
Share one monitoring thread between channels
7 years ago
Yuchen Zeng
2411bacd04
Address review comments
7 years ago
Yuchen Zeng
be9b814240
Add ChannelConnectivityWatcher
7 years ago
Vijay Pai
b18ab3f7c8
Delete deprecated constructor and CallOpSetCollectionInterface
7 years ago
Vijay Pai
ce58cf8c44
Add Slice constructors to match all grpc_slice cases
7 years ago
Jan Tattermusch
e68c0d1722
Revert "Reintroduce a lambda capture as part of C++11-izing code"
7 years ago