Conversation
Conflicts: Makefile
|
@a11r @tbetbetbe @murgatroid99 @nathanielmanistaatgoogle @jcanizales @jtattermusch Getting some initial review on API changes in grpc.h (with a demonstration in simple_request.c) would be great at this point, before this work gets too much further. |
|
Also... if anyone wants to start working on this stuff... feel free to branch from this. I'll happily take pull requests on top of it up until it's time to merge it all in (although I hope there's not too much delay on that). |
|
From what I see, grpc.h only has additions, so the change is backward-compatible. Correct? |
|
The plan is to delete anything suffixed with _old at some point in the On Tue Feb 03 2015 at 10:00:46 PM Jorge Canizales notifications@github.com
|
|
The meeting yesterday seemed to indicate that there would be a new completion type, which makes sense because |
|
So the rough story for grpc_event: Whilst we need to keep the current core API's alive, we are stuck with a big ugly grpc_event struct. When we go and delete all _old functions, we can also cleanup grpc_event (and do a minor round of edits to wrappers for compatibility)... I expect that it will end up looking like: struct grpc_event { |
|
So, when using the new APIs, should I just use those fields? Also, if event will still have a |
|
You should... for now you'll get a completion of type On Wed Feb 04 2015 at 9:44:25 AM Michael Lumish notifications@github.com
|
include/grpc/grpc.h
Outdated
There was a problem hiding this comment.
Does the order of ops matter?
|
Tests are still coming... I'll try to get the bulk of them tomorrow. It'd be good to get this in regardless though. |
There was a problem hiding this comment.
What is the use of these functions?
There was a problem hiding this comment.
Principally helpers to get things set-up/torn-down in the right way. Their use is optional.
|
Added more tests and stabilized a bunch |
There was a problem hiding this comment.
Should we log something like the status code here?
|
Updated to address comments. |
Please don't merge this until #357 is done.
I'm publishing this now because:
Once #357 is in, let's get this reviewed. I'll be working on getting all the tests converted, but I don't think we should gate on that, since C++ API's will also need to be updated.