Ensure vold doesn't hang when a child process dies

Add a monitoring thread that notifies the main parent thread when the child
process terminates. The return code from the child is then propagated back up
to the parent.

Change-Id: Idf46e100e8dee2e8f1aaa331317f3c4955632183
1 file changed