OSDN Git Service

fifo: add index references with caching and deferred operations
authorGlenn Kasten <gkasten@google.com>
Wed, 30 Nov 2016 19:05:32 +0000 (11:05 -0800)
committerGlenn Kasten <gkasten@google.com>
Tue, 13 Dec 2016 23:57:37 +0000 (15:57 -0800)
commit7225a3d837462b5a5ea808dcb2f8ffed539c5663
tree3a97354866eafec9c1b99a9ff0766c6ab8a0400f
parent11c484e6361af7539ee575ec7242889fa694ddac
fifo: add index references with caching and deferred operations

The new classes will eventually permit a set of related atomic operations,
wakes, and waits to be grouped together into a single sequence point,
and will allow use of event flags to wait for the "or" of multiple FIFOs.

This is one of a series of CLs to isolate the dependencies.

Test: not ready yet for testing
Change-Id: I2055b7a35721222cd914973cd210f5c0dca7d4ef
audio_utils/fifo_index.cpp
audio_utils/include/audio_utils/fifo.h
audio_utils/include/audio_utils/fifo_index.h