commit | 2bfc6b42b3733c12485dd51ed95191956abc3e4e | [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 | 0b8c0eef5d695bd7428f9bd984a2038e3b3ec4b4 | |
parent | 003d9f71937070791418bf7efc1f7fe1e4c6b821 [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