DescriptionAllow data pipe producer/consumer handles to be re-sent.
I.e., implement the appropriate serialization methods in
Remote{Producer,Consumer}DataPipeImpl.
There's a bit of refactoring to share some code. There's also some
clean-up/minor bug-fixing.
TODO: We'll need to add more tests:
* Sending data pipe handles when the data pipe already has data.
* Sending a data pipe handle when someone's waiting on it (should result
in "cancelled").
* Sending other types of handles when someone's waiting (ditto); I'm
almost certain we have bugs here.
R=morrita@chromium.org
Committed: https://chromium.googlesource.com/external/mojo/+/006e0c80dc0595175861d3f840fcafdca328a8e0
Patch Set 1 #
Total comments: 6
Patch Set 2 : review comments #
Messages
Total messages: 4 (0 generated)
|