Vijay Pai
30bf3ea4b9
clang-format
2016-02-08 13:21:07 -08:00
Vijay Pai
c593ca0171
reset the shared_ptr
2016-02-08 11:38:42 -08:00
Vijay Pai
bedf57fe8c
Ref the collection only when it will be used (and later finalized)
2016-02-05 16:45:54 -08:00
Vijay Pai
2b5638668e
Drop the ref
2016-02-05 15:11:36 -08:00
Vijay Pai
5506bea349
Undo much of the previous commits so that only CallOpSet groups
...
with a Sneaky member are in a collection.
2016-02-05 14:23:24 -08:00
Vijay Pai
7e3f9b0178
Forgot to include these edits in the last commit
2016-02-05 13:43:17 -08:00
Vijay Pai
38004a8e39
Wrap groups of related CallOpSet's into a ref-counted structure
...
whenever appropriate so as to avoid any unintentional free-before-use
problems.
Potential performance issue: this triggers an additional allocation
for each Async call initiation, along with the cost of ref-counting
shared_ptr . But this is worth it for the additional safety provided
here without any change to the exposed C++ API.
2016-02-05 13:40:22 -08:00
Sree Kuchibhotla
3075c81028
Update comment on TryCancel() API
2016-01-29 18:25:22 -08:00
Sree Kuchibhotla
f25c6ba229
Comments and format
2016-01-28 18:04:03 -08:00
Sree Kuchibhotla
7fa9d6f4c8
TryCancel() on ServerContext()
2016-01-28 17:32:48 -08:00
David Garcia Quintas
d79ef3af71
Fixed wrong usage of global var
2016-01-28 00:21:27 -08:00
David Garcia Quintas
6523391782
sanity fixes
2016-01-27 20:07:36 -08:00
David Garcia Quintas
b4e51b52bd
Merge branch 'master' of github.com:grpc/grpc into sync-async-plus-interfaces
2016-01-27 19:57:58 -08:00
David Garcia Quintas
5a9462339d
copyrights
2016-01-27 19:22:14 -08:00
David Garcia Quintas
6bd7b97dc6
DONE!!1one
2016-01-27 19:21:12 -08:00
David Garcia Quintas
e1300deb87
After GrpcLibrary refactoring. Compiles and passes. WIP still
2016-01-27 18:41:26 -08:00
David Garcia Quintas
6a48405ed0
pre sync_stream.cc creation. Does not compile
2016-01-25 19:12:37 -08:00
David Garcia Quintas
b523c732d1
async_stream.h done. Compiles
2016-01-25 18:22:28 -08:00
David Garcia Quintas
3452ae27c1
copyrights
2016-01-25 17:34:49 -08:00
David Garcia Quintas
2425bbbc55
Further work. Compiles. WIP
2016-01-25 17:32:48 -08:00
David Garcia Quintas
28991142fa
Improved a couple error messages
2016-01-22 13:56:45 -08:00
David Garcia Quintas
ddcb53a9de
made codegen targets in build.yaml
2016-01-21 17:48:34 -08:00
David Garcia Quintas
1d9b8079cb
clang-format
2016-01-21 10:08:22 -08:00
David Garcia Quintas
a43aadd7e1
fixed copyrights
2016-01-21 10:01:28 -08:00
David Garcia Quintas
08a0a3306e
Made "codedgen" directories closed over #includes
2016-01-21 01:04:36 -08:00
David Garcia Quintas
f3ddb7c55a
clang-format
2016-01-20 16:02:22 -08:00
David Garcia Quintas
6190854157
updated copyrights
2016-01-20 11:21:27 -08:00
David Garcia Quintas
a701ed7759
Merge branch 'proto_interfaces' into yang-g-sync_async_mix
2016-01-19 18:44:47 -08:00
David Garcia Quintas
1f4e72c19c
override -> GRPC_OVERRIDE
2016-01-19 14:45:32 -08:00
David Garcia Quintas
44f3249018
Introduced ServerInterface
2016-01-15 16:49:16 -08:00
yang-g
ad63510102
Add a test with two methods generic
2016-01-15 13:11:37 -08:00
yang-g
1ac6f4594e
warn user when they forget register generic service
2016-01-15 11:46:40 -08:00
yang-g
f48766d347
fix copyright
2016-01-15 11:26:31 -08:00
yang-g
0bbc87f599
Add generic support
2016-01-15 09:22:50 -08:00
David Garcia Quintas
e50c6c2f5e
WIP. Added ChannelInterface
2016-01-13 16:02:00 -08:00
yang-g
bef0d8744e
Support sync/async methods in the same service
2016-01-13 15:27:33 -08:00
Craig Tiller
15f383c6cc
Exploratory refactoring for mixed sync/async methods on the same C++ service
2016-01-07 12:45:32 -08:00
Craig Tiller
7536af02cf
Eliminate gpr_ int types - and insist on C99 variants instead
2015-12-22 13:49:30 -08:00
Jan Tattermusch
5dc93c363b
include climits
2015-12-07 17:59:35 -08:00
Jan Tattermusch
5b155e5674
more win x64 fixes
2015-12-07 17:59:32 -08:00
yang-g
92f4a155d8
add doxygen comment
2015-12-02 14:24:45 -08:00
yang-g
a23f17b123
add server_builder_option
2015-11-25 10:21:05 -08:00
Craig Tiller
52a2ebadcb
Two argument variant for grpc::thread
2015-11-20 15:37:54 -08:00
Craig Tiller
dd69342218
Merge github.com:grpc/grpc into clang_format
2015-09-25 09:56:52 -07:00
Craig Tiller
ddf3a511aa
Add clang-format to sanity
2015-09-24 13:03:44 -07:00
Craig Tiller
04456843cd
Windows fixes
2015-09-23 10:07:16 -07:00
yang-g
e21908fcee
impl
2015-08-25 13:47:51 -07:00
yang-g
3e4bd9598b
merge with head
2015-08-24 15:54:07 -07:00
yang-g
9fb35a5332
split stream.h into sync_stream.h and async_stream.h
2015-08-21 15:49:35 -07:00
yang-g
9e2f90cd06
headers reorg
2015-08-21 15:35:03 -07:00