Craig Tiller
62d2896665
Add facility to register methods in C++
10 years ago
Craig Tiller
53a38d4699
Make RpcMethod constructor take all args
10 years ago
Craig Tiller
b20111caea
clang-format
10 years ago
Craig Tiller
08453374b2
Introduce ahead-of-time registration of (method,host) pairs
10 years ago
Craig Tiller
721f362614
Inline initial slice buffer allocation
10 years ago
Nicolas "Pixel" Noble
6fb2938bd4
Getting a bit more laxist with the various GPR rules.
...
Also fixing WINSOCK check.
10 years ago
Nicolas "Pixel" Noble
553a90443b
Fixing FreeBSD's TLS port_platform entry.
10 years ago
Nicolas "Pixel" Noble
b7bbffe9f6
Addressing github comments.
10 years ago
Craig Tiller
8cca9abeda
Thread local storage for grpc
10 years ago
Nicolas Noble
89219162dd
Refactoring std::chrono out.
10 years ago
Nicolas "Pixel" Noble
b092916a2a
Addressing concerns.
10 years ago
Nicolas "Pixel" Noble
ff2828be3d
Rewriting mutex, condition_variable, and thread.
10 years ago
Nicolas Noble
91647cc815
Adding joinable threads, and gpr_thd_join.
10 years ago
Nicolas "Pixel" Noble
ae96ae2bad
Starting off by removing all offending headers.
10 years ago
Yang Gao
e9866e977e
resolve comment
10 years ago
Yang Gao
b53af532af
Bug fix. User can destroy status after calling Finish and we should keep a copy of it instead of a pointer
10 years ago
Yang Gao
5a5032dd4c
Add a macro to enable replacing the default with a custom port picker
10 years ago
vjpai
f731d68fef
Avoid a problem when clang pretends to be GNUC
10 years ago
vjpai
3ff350cf96
Make a fake version of nullptr to work with old compilers
10 years ago
vjpai
11f64fb349
Make a fake version of nullptr to satisfy old compilers
10 years ago
Vijay Pai
8dafd52cea
Revert "Remove dead members of server context"
...
This reverts commit 8c8588c7dc
.
10 years ago
Vijay Pai
652b7e983b
Revert "Remove dead members of server context"
...
This reverts commit 8c8588c7dc
.
10 years ago
Vijay Pai
fa6ea8536d
Revert "Remove dead members of server context"
...
This reverts commit 8c8588c7dc
.
10 years ago
Vijay Pai
8c8588c7dc
Remove dead members of server context
10 years ago
Yang Gao
b7b965c842
Make Next free of time_point to timespec conversion
10 years ago
Yang Gao
050e37aab8
resolve merge error
10 years ago
Yang Gao
75e2f6d839
Implementation of generic stub
10 years ago
Nicolas "Pixel" Noble
eab96f51fb
Dodging VisualStudio's #define of max().
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
Nicolas "Pixel" Noble
b050ce96e7
Fixes for Windows atomics.
...
-) gpr_atm_no_barrier_load should actually return something.
-) If compiling under mingw32, your compiler is gcc and gcc atomics become available.
10 years ago
Yang Gao
5ebd6c76a2
wrap refresh token credentials in c++
10 years ago
Yang Gao
757afaeb30
clang-format new changes
10 years ago
Yang Gao
6baa9b67ad
clang-format c++ code
10 years ago
vjpai
7aadf46fdb
Change to std::chrono and add a test.
10 years ago
Jorge Canizales
6b64c811b3
Fixes iPhone platform detection
10 years ago
Yang Gao
1ad253d137
expose the server's cq through the generic service object
10 years ago
Nicolas Noble
f358573091
FreeBSD preliminary work.
...
-) You can't assume bash is installed. Scripts needs to be cleaned out of bashisms.
-) You can't assume python is in /usr/bin. Use env instead.
-) AF_INET is in sys/socket.h
-) Added port_platform's basic structure for FreeBSD, based off Darwin.
-) FreeBSD doesn't have and doesn't need libdl for OpenSSL.
10 years ago
Jorge Canizales
f5a5943a59
Adds GPR_CPU_IPHONE to the checks in port_platform.h
10 years ago
Yang Gao
dca15a6d1e
add a comment
10 years ago
Nicolas "Pixel" Noble
764971354c
Allowing us to import google::protobuf::int64.
...
If for any reason, our definition of gpr_int64 is different from the definition of google::protobuf::int64, the virtual override would fail, as this needs to be of the precisely exactly the same type.
That change allows us to use protobuf's int64 definition.
10 years ago
Jorge Canizales
30e666cae7
Creates cpu_iphone.c
...
So that cpu_posix.c can be left untouched for the other platforms.
10 years ago
Nicolas "Pixel" Noble
613d6fe997
Moving ZeroCopyOutputStream to grpc++/config.h.
10 years ago
Yang Gao
4999649653
Rename to AsyncGeneric*
10 years ago
Yang Gao
179f8684dc
add missing GRPC_FINAL
10 years ago
Vijay Pai
c41bf3cb5a
More sane ordering of methods
10 years ago
Vijay Pai
3e0a46a1c4
Change behavior to properly account for possibility of NULL
...
tag. This can happen if the tag is actually an integer being
typecast to void*
To avoid breaking the API of existing Next calls, I've made
a new AsyncNext method with a tri-state return that indicates
whether there is a shutdown, an actual event, or a timeout.
Still needs proper testing for the AsyncNext method specifically.
10 years ago
Yang Gao
005eb88c45
Rename anonymous to generic globally
10 years ago
Vijay Pai
ee705f6d66
Add support for deadline on CompletionQueue::Next
...
If the deadline elapses, return true but have a null tag.
10 years ago
David Klempner
466423b157
Add a no_barrier_load atomic operation.
...
Use this to relax the acq_loads in some fd_posix assertions. The primary
goal here is to avoid masking potential iomgr races from tsan.
10 years ago
Yang Gao
d778651c01
formatting
10 years ago