Files
OpenCellular/include
Anton Staaf 1a0235e69f Streams: Define a lower level abstraction for queue access
This adds a new pair of interfaces called producer and consumer
which are simpler (in that they don't hold onto the underlying
queue) than the stream interfaces.  This makes it easier to
share a single queue between the endpoints that will manipulate
it.  It was not possible to share a queue between two objects
that implemented the in_stream and out_stream interfaces.

This also adds a pair of adaptors that can convert a producer
or consumer into a stream of the correct type.  These adaptors
will be used for existing code once the usb-stream and usart
drivers are converted over to use the producer/consumer
interfaces instead of the stream interfaces.

Signed-off-by: Anton Staaf <robotboy@chromium.org>

BRANCH=None
BUG=None
TEST=make buildall -j

Change-Id: I42b4b1ac15cca28e1adc6d3cea315f15e17a0b4d
Reviewed-on: https://chromium-review.googlesource.com/250941
Trybot-Ready: Anton Staaf <robotboy@chromium.org>
Tested-by: Anton Staaf <robotboy@chromium.org>
Reviewed-by: Randall Spangler <rspangler@chromium.org>
Commit-Queue: Anton Staaf <robotboy@chromium.org>
2015-02-24 00:27:50 +00:00
..
2013-12-17 21:27:53 +00:00
2013-04-05 14:28:42 -07:00
2014-02-08 00:14:48 +00:00
2013-10-25 20:12:49 +00:00
2012-10-26 09:49:38 -07:00
2014-10-29 22:23:43 +00:00
2013-06-26 09:08:23 -07:00
2013-10-21 23:59:38 +00:00
2013-10-30 23:10:13 +00:00
2013-08-07 12:43:48 -07:00
2011-12-07 19:10:02 +00:00
2012-10-25 14:12:11 -07:00
2014-03-06 23:14:07 +00:00
2012-10-25 14:12:10 -07:00
2013-10-30 23:10:10 +00:00
2012-10-25 17:03:44 -07:00
2012-08-09 17:40:37 -07:00
2014-06-26 06:48:37 +00:00
2014-01-06 12:40:45 +00:00
2015-02-12 06:44:04 +00:00
2014-03-01 20:15:59 +00:00
2013-11-21 00:09:09 +00:00
2014-06-19 03:28:43 +00:00
2015-01-20 20:56:43 +00:00