Alexander Polcyn
a31e86b780
Revert remaining conversions
6 years ago
Alexander Polcyn
d09c9f8e20
Revert "Introduce C++ wrappers for gpr_mu and gpr_cv."
...
This reverts commit a26c09dd25
.
6 years ago
Soheil Hassas Yeganeh
e85dd2e644
Fix build errors
6 years ago
Karthik Ravi Shankar
f03b309787
Revert "Merge pull request #18458 from grpc/grpc_namespace_server"
...
This reverts commit dc1089a6d1
, reversing
changes made to 31843787cc
.
This change also includes - Revert "Merge pull request #17932 from soheilhy/gprpp-mutex"
This reverts commit df4b6a763d
, reversing
changes made to dc1089a6d1
.
6 years ago
Karthik Ravi Shankar
dad3f34207
Revert "Revert "Revert "Folding the Channel class into the grpc_impl namespace."""
6 years ago
Vijay Pai
41c6cba9f5
Make sure that OnCancel happens after OnStarted
6 years ago
Karthik Ravi Shankar
891b6cf7ae
Revert "Folding CompletionQueue and ServerCompletionQueue."
6 years ago
SataQiu
44f92cdd17
clean up repeated words
6 years ago
Karthik Ravi Shankar
506ca7fc36
Fix clang script errors
6 years ago
Karthik Ravi Shankar
b84d3db762
Fix build after merge from master
6 years ago
Soheil Hassas Yeganeh
a26c09dd25
Introduce C++ wrappers for gpr_mu and gpr_cv.
...
Introduce RAII wrappers in the grpc::internal and grpc_core
namespaces, and use them in place of std::mutex and
std::condition_variable.
Note that, since std::mutex is also used by the public
C++ headers we cannot introduce these wrappers in grpc_core.
Also, note that in grpcpp we cannot use gRPC core and vice versa.
So we had to duplicate the code, once using core_codegen_interface
and once using direct calls.
6 years ago
Karthik Ravi Shankar
4cb0d0d6b1
Fix errors from clang scripts
6 years ago
Karthik Ravi Shankar
991409798c
Fix clang script errors
6 years ago
Hope Casey-Allen
b86e70592e
Format
6 years ago
Hope Casey-Allen
cee3292cdf
Update callback API documentation
6 years ago
Moiz Haidry
ca209ae00e
Fix typo in server credentials impl header file
6 years ago
Karthik Ravi Shankar
a93ff7d617
Fix script errors
6 years ago
Karthik Ravi Shankar
9222d4f3c2
Fix clang issues
6 years ago
Karthik Ravi Shankar
43b33ee371
Fix errors from clang scripts
6 years ago
Karthik Ravi Shankar
c4b7423ad0
Fix errors due to rebase
6 years ago
Karthik Ravi Shankar
8e092b45fa
Move ProtoServerReflectionPlugin from grpc to grpc_impl namespace
6 years ago
Karthik Ravi Shankar
53cf5ddb6b
Fix include guard
6 years ago
Vijay Pai
847b0155d9
Promise to call OnStarted and forbid Start* until after OnStarted
6 years ago
Karthik Ravi Shankar
fc50caf725
Fix clang format issues
6 years ago
Karthik Ravi Shankar
dc3a715be4
Fix clang format code errors.
6 years ago
Karthik Ravi Shankar
2f2ed7228b
Fix clang_format_code.sh errors
6 years ago
Karthik Ravi Shankar
577ddfb1a1
Move ServerInitializer to grpc_impl namespace from grpc
6 years ago
Karthik Ravi Shankar
a88e3f4c2e
Move ServerBuilderOption from grpc to grpc_impl namespace
6 years ago
Vijay Pai
abb991be25
Further clarify some APIs by removing their comments from internal::
6 years ago
Vijay Pai
9169159f30
Comments for all callback API methods
6 years ago
Karthik Ravi Shankar
996da58667
Revert "Revert "Moving ::grpc::ServerBuilder to ::grpc_impl::ServerBuilder""
6 years ago
Karthik Ravi Shankar
e4bb7cb8bb
Revert "Moving ::grpc::ServerBuilder to ::grpc_impl::ServerBuilder"
6 years ago
Karthik Ravi Shankar
b2b1e57337
Fix errors from test scripts.
6 years ago
Karthik Ravi Shankar
850d02d67d
Move channelz_service_plugin from grpc to grpc_impl namespace
6 years ago
Karthik Ravi Shankar
4b0175f2c8
Fix errors from clang_format_code.sh
6 years ago
Karthik Ravi Shankar
130962490b
Make changes to fix test failures
6 years ago
Karthik Ravi Shankar
392554e341
Fixing clang_tidy_format.sh issues.
6 years ago
Karthik Ravi Shankar
49773cbe9a
Fix namespace to grpc
6 years ago
Karthik Ravi Shankar
d23753ca46
Move create_channel_posix from grpc to grpc_impl namespace
6 years ago
Karthik Ravi Shankar
d204654836
Fix errors from clang_format_code.sh
6 years ago
Karthik Ravi Shankar
6e5587b165
Fix build issues.
6 years ago
Karthik Ravi Shankar
35e793d23a
Fix more more tests.
6 years ago
Karthik Ravi Shankar
8dbaa13f52
Fix more grpc namespace issues
6 years ago
Karthik Ravi Shankar
92bde3922f
Fix tests to use grpc namespace.
6 years ago
Karthik Ravi Shankar
b25f6da3f0
Make changes to fix test failures
6 years ago
Karthik Ravi Shankar
e27ddbc87e
Move ::grpc::HealthCheckServiceInterface to ::grpc_impl namespace
6 years ago
Karthik Ravi Shankar
ecfc107f32
Make more changes to remove grpc qualifier from tests
6 years ago
Soheil Hassas Yeganeh
ad1b3e5094
Introduce grpc_byte_buffer_reader_peek and use it for Protobuf parsing.
...
grpc_byte_buffer_reader_next() copies and references the slice. This
is not always necessary since the caller will not use the slice
after destroying the byte buffer.
A prominent example is the protobuf parser, which
calls grpc_byte_buffer_reader_next() and immediately unrefs the slice
after the call. This ref() and unref() calls can be very expensive
in the hot path.
This commit introduces grpc_byte_buffer_reader_peek() which
essentialy return a pointer to the slice in the buffer, i.e.,
no copies, and no refs.
QPS of 1MiB 1 Channel callback benchmark increases by 5%.
More importantly insructions per cycle is increased by 10%.
Also add tests and benchmarks for byte_buffer_reader_peek()
This commit reaplies 509e77a5a3
6 years ago
Karthik Ravi Shankar
04af168cf8
Move Server into grpc_impl from grpc
6 years ago
Karthik Ravi Shankar
338b4cb5c9
Fold ErrorDetails into grpc_impl from grpc
6 years ago