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
Yang Gao
0535da3068
The Jwt code was dropped somewhere in a merge. Put it back
10 years ago
Yang Gao
0fd94409a0
Expose server cq for polling incoming anonymous rpcs
10 years ago
Yang Gao
f82a30d90a
Use ssl name override if it's in the channel argument
10 years ago
Yang Gao
61c413182d
initial imple of byte buffer and slice
10 years ago
Julien Boeuf
9835cf0234
Adding refresh token credentials.
...
- The google default credentials now work with the cloud SDK.
- Verified end to end with print_default_credentials and fetch_oauth2
tools.
10 years ago
Jan Tattermusch
b0829ebaf1
C# server side TLS support
10 years ago
Chilledheart
ca767c0d9e
Add method grp_slice_buffer_pop to remove the last element for grp_slice_buffer
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
Yang Gao
5f4539f4e8
Service side should be done, it builds and existing tests pass
10 years ago
Yang Gao
1c40233814
first sets of changes, it builds
10 years ago
Yang Gao
ee7ab3db2f
Remove include google/protobuf/message.h as it should be covered in config.h
10 years ago