Vijay Pai
8ad32091e6
Make sure that nothing gets added to cq after shutdown
10 years ago
Vijay Pai
55bb5bdf80
No need to do an extra read
10 years ago
Vijay Pai
c5b397927c
test return value of rpc parse
10 years ago
vjpai
653803e310
Make RPC type configurable
10 years ago
vjpai
46f65239cf
Added streaming C++ tests for sync and sync cases
10 years ago
Nicolas Noble
cfd6073a66
Various Windows fixes.
...
-) using dupenv_s instead of getenv_s and calling strdup ourselves.
-) few impossible-to-obtain if checks.
-) various signed/unsigned casting.
-) using time_t instead of time32_t
-) checking output of FormatMessage for failures.
-) don't redefine _WIN32_WINNT without undefining it first.
-) fixed msvc's interlocked casting.
-) renamed AddPort to AddListeningPort.
-) added protobuf's third_party includes to search path.
-) added a missing definition for inet_ntop in mingw32.
-) removed useless declarations.
10 years ago
Yang Gao
6baa9b67ad
clang-format c++ code
10 years ago
Chilledheart
4be94b9541
Add missing GRPC_OVERRIDE, NFC
...
Testing asan configuration with the latest clang compiler fails due to
the warning `-Winconsistent-missing-override`. This patch fixes it.
10 years ago
Craig Tiller
43ef582e42
override --> GRPC_OVERRIDE
10 years ago
Craig Tiller
78524b75d7
Compile fix
10 years ago
Craig Tiller
2eaf1596bb
ACTUALLY set the server thread pool
10 years ago
Craig Tiller
a182bf12b0
clang-format
10 years ago
Craig Tiller
50a976f56c
Linux compile fix
10 years ago
Craig Tiller
c98bef7303
Compile fix
10 years ago
Craig Tiller
a8dc37a2dd
Rename some files
10 years ago
Craig Tiller
d6479d6cc4
Async server works
10 years ago
Craig Tiller
ef63839042
Async client works
10 years ago
Craig Tiller
e38ec21122
Linux compile fix
10 years ago
Craig Tiller
d1e18faefc
Async client progress
10 years ago
Craig Tiller
8856875900
Async client progress
10 years ago
Craig Tiller
f282514389
Print resource utilization
10 years ago
Craig Tiller
d701c5f5c3
Formatting
10 years ago
Craig Tiller
76877c3f66
Generate latencies in driver
10 years ago
Craig Tiller
10923c2fb5
Formatting
10 years ago
Craig Tiller
6af9ed0bf7
Rework QPS client/server
...
Now setup as a driver and N anonymous workers that may become clients or servers.
Will convert async soon.
10 years ago
Craig Tiller
26598a394a
WIP
10 years ago
Vijay Pai
acf6f318fc
Better use of threads, avoid thread safety issues on destructor with
...
a proper join.
Also had been misusing EXPECT_EQ, as well as actually having an invalid
expectation on the ok field. Now it should be sane.
10 years ago
vjpai
4e1e1bc28e
Revert "Use typedefs to avoid triply-nested function templates"
...
This reverts commit 45b0bc4bec
.
This revert is being done because the compilers on Travis don't
understand the C++11 template/using syntax.
10 years ago
vjpai
45b0bc4bec
Use typedefs to avoid triply-nested function templates
10 years ago
vjpai
5b39f9a9fb
refresh -> Reset
10 years ago
vjpai
6e2e64a8b4
Stop abusing operator() overloading
10 years ago
vjpai
9440a14558
Move std::bind call out of main loop, change constructor appropriately
10 years ago
vjpai
cd801c8531
<:: -> < ::
10 years ago
vjpai
3c11066217
override->GRPC_OVERRIDE
10 years ago
Vijay Pai
64ac47f389
clang-format all these files
10 years ago
vjpai
56c5129629
Rename Async methods from generator to avoid naming conflicts to
...
bind and other functions
10 years ago
Craig Tiller
c5ba0e56a0
Make it possible to compile with gcc4.6
10 years ago
vjpai
dea740f329
New multithreaded async C++ tests. The server is architected the way
...
that it should be with multiple threads waiting on a single
completion queue.
The client currently uses a separate completion
queue per-thread, as trying to do a single unified queue was leading
to crashes for me. I need to figure that out.
10 years ago
Craig Tiller
cf133f41f8
Make it possible to compile with gcc4.6
10 years ago
Craig Tiller
8ecb170151
Fix that race better
10 years ago
Craig Tiller
2f3fa9acff
Fix linux compile bug
10 years ago
Craig Tiller
2d0f36c84b
Driver to client/server kind of works
10 years ago
Craig Tiller
4ef7a29f31
Create server/client lists
10 years ago
Craig Tiller
4f7a1ff6ad
'Fix' a race
10 years ago
Craig Tiller
e48601934d
Getting the driver pieces in place
...
Driver logic not implemented yet
10 years ago
Craig Tiller
5c004c68de
Driver changes
...
WIP - things compile again after a broad set of changes preparing for
the driver code.
10 years ago
Craig Tiller
42bc87c097
Update C++ server with new core API
...
And reflects the C++ API in ServerBuilder.
10 years ago
vjpai
5b47818d93
Some compilers not happy with <:: and need < :: instead
10 years ago
Nicolas "Pixel" Noble
7e80efcb3d
Making the usage of gflags uniform across distributions.
10 years ago
Nicolas "Pixel" Noble
ba6082080c
Fixing gflags' include path.
10 years ago