Vijay Pai
3aeff224ed
Remove some dead code from a previous iteration of internal::Call
7 years ago
Yash Tibrewal
03412ee9de
Remove TLS_NO_SUPPORT and always use GPR_TLS. Reorder statements in grpc_init and grpc_shutdown. Add grpc_init and grpc_shutdown in failing test/cpp tests
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
Yash Tibrewal
81fc8c9c33
Fix tests to call grpc_init and grpc_shutdown before using exec_ctx
7 years ago
Yash Tibrewal
3285f4c732
Fix grpc_init by removing exec_ctx usage before init
7 years ago
Yash Tibrewal
45b7ad5cf5
GPR_TLS Macro fix, and windows resolve_address fix
7 years ago
Yash Tibrewal
ba0689fa2a
tls macro changes and UV fix
7 years ago
Yash Tibrewal
a13a8c0f3e
A few src/core fixes due to missing exec_ctx_finish
7 years ago
ncteisen
01a7547a3f
Re 89 the public headers
7 years ago
ncteisen
adbfbd5977
Remove all extern C
7 years ago
ncteisen
311fa5f818
Reviewer feedback: no API change
7 years ago
ncteisen
14c60f1d12
Fix segfault
7 years ago
ncteisen
0354c22d40
Save C++ for follow up PR
7 years ago
ncteisen
8c1f338b4a
Add comment
7 years ago
Noah Eisen
19c34b60be
Reviewer comments
7 years ago
ncteisen
751c3245f8
Add partial unref
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
Mark D. Roth
fbc3f04eab
Add channel arg for server handshake timeout.
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
Yash Tibrewal
2f921a3f97
Remove grpc_slice_buf_cmp and change public_headers_must_be_c89 to print the addresses of public api functions to check if they can be linked to
7 years ago
ncteisen
27a6713db3
Use protected, remove uneeded member variable
7 years ago
kwasimensah
ac299723bd
Making clang format happy
7 years ago
kwasimensah
685b5d459f
Fixing port_platform
...
Copy over Absl macro to deal with C++/C differences.
7 years ago
kwasimensah
1a671dea71
Simplify macro logic here
7 years ago
ncteisen
023726202a
Refactor SerializationTraits
7 years ago
kwasimensah
c58952649f
Got cpu_posix.cc to work without tls
7 years ago
Justin Burke
c1d354d7f2
Support SSL server certificate reloading.
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
kwasimensah
51c7bf8425
Update port_platform.h
7 years ago
Mark D. Roth
6e5ce7288d
Assume that subchannels start in state IDLE.
7 years ago
kwasimensah
1194782c42
Add logic to work around buggy Android NDKs
...
Old version of the Android NDK have linker issues with thread local support https://github.com/android-ndk/ndk/issues/8 and isn't actually fixed until r12b https://developer.android.com/ndk/downloads/revision_history.html . ABSL's config.h is being updated to catch this case and having gRPC rely on that will make sure it also gets the fix (rather than repeating a somewhat lengthy macro).
Since gRPC already has a dependency on ABSL, I figured this wouldn't be an issue.
7 years ago
Vijay Pai
06e174a088
Separate public and internal C++ interfaces
7 years ago
Yash Tibrewal
589e58316a
Missing extern C in public API
7 years ago
Yash Tibrewal
34a57d0346
rename all test core files to cc and a lot of C++ style conversions
7 years ago
Ken Payson
42bd87e376
Adds gRPC Experimental CQ DoThenAsyncNext lambda API
7 years ago
Vizerai
bb7d088ed2
Cleaning up census code.
7 years ago
Muxi Yan
739ff08a7f
Fix gRPC Core API void function definition
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
Craig Tiller
694580faee
Better name
7 years ago
thinkerou
d582cdf0ae
fix typo
7 years ago
Ken Payson
c5731324a4
Bug fixes for fork support
7 years ago
Vijay Pai
953afecaaf
Add an explicit void 2nd parameter to invocation of SerializationTraits
7 years ago