Mark D. Roth
62569dd978
Fix arena to return aligned memory.
7 years ago
Vijay Pai
e1e7042919
Restructure to simplify, harden, and avoid forward declaration
7 years ago
Vijay Pai
2b226adf60
Remove alarm from core, implement in C++ layer only
7 years ago
Jan Tattermusch
c9ec2c0888
Revert "Stop using std::thread in C++ library since it can trigger exceptions"
7 years ago
Vijay Pai
1d91362f81
exec_ctx_fwd.h should never have been in public headers
7 years ago
Vijay Pai
b4b0ac7049
Resolve leak by freeing request payload if resources exhausted
7 years ago
Vijay Pai
fd4884a768
Address review comments
7 years ago
Vijay Pai
7500577593
Address review feedback; stop using result of 'what'
7 years ago
Vijay Pai
ab00654784
Tag new #else and #endif blocks with comments
7 years ago
Vijay Pai
9809ce38e9
Use appropriate preprocessor guards to allow building without exceptions
7 years ago
Vijay Pai
8fc3715a17
Catch exceptions from sync method handlers without crashing server
7 years ago
Vijay Pai
5dd32268be
Switch C++ sync server to use gpr_thd rather than std::thread and provide resource exhaustion mechanism
7 years ago
Vijay Pai
91bab37129
When building with bazel on a Mac, workaround bazelbuild/bazel#4341
7 years ago
Yuchen Zeng
c6ae9b562b
Silence openssl 1.1.0 warnings
7 years ago
Yash Tibrewal
11d1ac4c0c
Add an exception in TLS to use pthread library instead of __thread for Android NDK with GCC as the compiler
7 years ago
ncteisen
7d9b6358b5
Initial commit
...
Picks up work from https://github.com/grpc/grpc/pull/10259 .
A merge was impossible due to the many sweeping changed that
have occured since I last touched that PR (c++-ization, exec_ctx,
reorganitation of filters, etc).
7 years ago
Vijay Pai
d5730c6c22
Allow no message on sync unary call, just like async
7 years ago
ncteisen
934a3cebc4
Allow forward declaration of log args
7 years ago
yang-g
30ced5d09f
Add comments for AsyncGenericService
7 years ago
yang-g
9c5d8267cd
resolve comments
7 years ago
yang-g
69aec17562
Add dummy operator delete to make VS2015 not complain.
7 years ago
ncteisen
6193c63dab
Reviewer feedback
7 years ago
Muxi Yan
9c02a3cca1
Do not separate message/stream compression levels
7 years ago
Muxi Yan
38fcd0c6c3
clang-format
7 years ago
Yash Tibrewal
8cf1470a51
Revert "Revert "All instances of exec_ctx being passed around in src/core removed""
7 years ago
Yash Tibrewal
ad4d2dde00
Revert "All instances of exec_ctx being passed around in src/core removed"
7 years ago
Vijay Pai
30ccc944d6
Update port_platform.h
7 years ago
Mark D. Roth
e204e5e497
Apply #13336 to v1.8.x branch.
7 years ago
ncteisen
11f6780bfd
Add comment with API
7 years ago
ncteisen
64e0b10a97
Variable name consistency
7 years ago
ncteisen
b9cff78f9e
Reviewer feedback
7 years ago
Noah Eisen
0d7f5e77c0
No null string ctor
7 years ago
ncteisen
74c106eff3
Add error string to C++
7 years ago
Yash Tibrewal
e1e7db029f
Remove asserts from tls_gcc.h
7 years ago
Vijay Pai
195cf1ebfd
Move histogram to test/core/util
7 years ago
Dave MacLachlan
8a631a2b05
Remove unused BSD thread name macro
7 years ago
Dave MacLachlan
af5c54de9c
Add thread naming support on platforms that support it.
...
As a client of grpc I want to be aware of which threads are being
created by grpc, and giving them recognizable names makes it significantly
easier to diagnose what is going on in my programs.
This provides thread names for macOS and Linux. Adding support for other
platforms should be easy for platform specialists.
7 years ago
ncteisen
9b6283a952
Make API comment more specific:
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
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