diff options
author | Glenn Kasten <gkasten@google.com> | 2012-11-30 07:57:43 -0800 |
---|---|---|
committer | Glenn Kasten <gkasten@google.com> | 2012-11-30 07:59:09 -0800 |
commit | 05f9e4fe9a97e077b5ed37214464c0a67af80871 (patch) | |
tree | 1cf64edb5b601e3830e8cfa027ac72d842f4e575 /services | |
parent | 1bfcf04b27bdd5320ab70b74285b855380e83f26 (diff) | |
download | frameworks_av-05f9e4fe9a97e077b5ed37214464c0a67af80871.zip frameworks_av-05f9e4fe9a97e077b5ed37214464c0a67af80871.tar.gz frameworks_av-05f9e4fe9a97e077b5ed37214464c0a67af80871.tar.bz2 |
Add warning about following the design rules
Change-Id: Ic4895ed5682bad10b03e97d8015e642ee1696533
Diffstat (limited to 'services')
-rw-r--r-- | services/audioflinger/FastMixer.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/services/audioflinger/FastMixer.cpp b/services/audioflinger/FastMixer.cpp index 3c8a256..2005899 100644 --- a/services/audioflinger/FastMixer.cpp +++ b/services/audioflinger/FastMixer.cpp @@ -14,6 +14,12 @@ * limitations under the License. */ +// <IMPORTANT_WARNING> +// Design rules for threadLoop() are given in the comments at section "Fast mixer thread" of +// StateQueue.h. In particular, avoid library and system calls except at well-known points. +// The design rules are only for threadLoop(), and don't apply to FastMixerDumpState methods. +// </IMPORTANT_WARNING> + #define LOG_TAG "FastMixer" //#define LOG_NDEBUG 0 |