From 8dfa77780fe1e3944a5b63b453e7a25b11ca25c4 Mon Sep 17 00:00:00 2001 From: Ethan Yonker Date: Thu, 4 Sep 2014 21:48:41 -0500 Subject: MTP: Use fork instead of pthread Change-Id: I95cf6f4def0c86f40c775738f0712323f0a0f146 --- mtp/twrpMtp.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'mtp/twrpMtp.hpp') diff --git a/mtp/twrpMtp.hpp b/mtp/twrpMtp.hpp index bed81c0e9..f0d8f4bfd 100755 --- a/mtp/twrpMtp.hpp +++ b/mtp/twrpMtp.hpp @@ -34,7 +34,8 @@ class twrpMtp { public: twrpMtp(int debug_enabled /* = 0 */); - pthread_t runserver(void); + pthread_t threadserver(void); + pid_t forkserver(void); void addStorage(std::string display, std::string path, int mtpid); private: int start(void); -- cgit v1.2.3