commit | 2fa114de80a5f6afd2055054a163c6d7e2ef71bc | [log] [tgz] |
---|---|---|
author | Jean-Michel Trivi <jmtrivi@google.com> | Fri Sep 28 14:49:39 2012 -0700 |
committer | Jean-Michel Trivi <jmtrivi@google.com> | Sun Sep 30 11:11:26 2012 -0700 |
tree | d899700feaafc73126d80a4e0c7f9dab75d6c2c8 | |
parent | 9bb6e65def86afb36a03643c50456e646cdf98a8 [diff] |
bug 7253033 clean up before closing an output An output can only be closed if there is no lock contention that prevents ThreadBase::exit() from being blocked. If an output device is waiting for an operation to complete (here a write in the remote_submix module, because the pipe is full), signal the module that it's entering the "exiting" state. Change-Id: I8248add60da543e90c25a4c809866cdb26255651