DescriptionMojo: DataPipe: Write some docs and rationalize some return values.
In "all or none" mode, return "out of range" if the required amount of
space/data isn't available, unless the other end isn't open (in which
case return "failed precondition"). Don't return "should wait", since
you can't wait for a specified amount of space/data to be available.
(Only return "should wait" when waiting would actually solve your
problem.)
Note: Still have to write docs for the two-phase DataPipe APIs (but I
want to fully test/hash out their semantics first).
R=darin@chromium.org
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=243327
Patch Set 1 #Patch Set 2 : comment fixes #
Total comments: 8
Patch Set 3 : review fixes #
Messages
Total messages: 7 (0 generated)
|