commit | c40cf77ecef4568682698ee7538043ab024ab0b3 | [log] [tgz] |
---|---|---|
author | Deepak Kushwah <dkushwah@codeaurora.org> | Thu Dec 24 16:36:20 2015 +0530 |
committer | Deepak Kushwah <dkushwah@codeaurora.org> | Mon Dec 28 16:16:53 2015 +0530 |
tree | ffaf59319c3c1c4ce876465af038a00a3868f7e7 | |
parent | dc1b1d4eb44a31aaa03bda5536aa27cffdd372d5 [diff] |
mm-video: vidc: Reliably stop the message thread Message thread blocked on a read(), may never wake if the joining thread fails to write the stop command. Instead, monitor the input pipe with timed-wait, and bail-out in case stop is signaled. Change-Id: I35409034f66281b8acaa216171d85f1dfd868906