summaryrefslogtreecommitdiff
path: root/media/mtp/MtpFfsHandle.h
diff options
context:
space:
mode:
Diffstat (limited to 'media/mtp/MtpFfsHandle.h')
-rw-r--r--media/mtp/MtpFfsHandle.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/media/mtp/MtpFfsHandle.h b/media/mtp/MtpFfsHandle.h
index e552e03bec..51cdef0953 100644
--- a/media/mtp/MtpFfsHandle.h
+++ b/media/mtp/MtpFfsHandle.h
@@ -60,6 +60,10 @@ protected:
bool mCanceled;
bool mBatchCancel;
+ std::mutex m;
+ std::condition_variable cv;
+ std::atomic<int> child_threads{0};
+
android::base::unique_fd mControl;
// "in" from the host's perspective => sink for mtp server
android::base::unique_fd mBulkIn;