commit | 8dfa77780fe1e3944a5b63b453e7a25b11ca25c4 | [log] [tgz] |
---|---|---|
author | Ethan Yonker <dees_troy@teamw.in> | Thu Sep 04 21:48:41 2014 -0500 |
committer | Ethan Yonker <dees_troy@teamw.in> | Thu Sep 04 21:59:20 2014 -0500 |
tree | 3d535c23f2a448761d390ed3148ec3c1f95b370a | |
parent | 82ce28122dfaabd2d8d910a7f75edf648d08bd6b [diff] [blame] |
MTP: Use fork instead of pthread Change-Id: I95cf6f4def0c86f40c775738f0712323f0a0f146
diff --git a/mtp/twrpMtp.hpp b/mtp/twrpMtp.hpp index bed81c0..f0d8f4b 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);