diff options
Diffstat (limited to 'mtp/MtpStorage.h')
-rwxr-xr-x | mtp/MtpStorage.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mtp/MtpStorage.h b/mtp/MtpStorage.h index cdbb73b50..245debf60 100755 --- a/mtp/MtpStorage.h +++ b/mtp/MtpStorage.h @@ -28,6 +28,7 @@ #include <pthread.h> #include "btree.hpp" #include "MtpServer.h" +#include "../tw_atomic.hpp" class MtpDatabase; struct inotify_event; @@ -113,7 +114,7 @@ private: bool use_mutex; pthread_mutex_t inMutex; // inotify mutex pthread_mutex_t mtpMutex; // main mtp mutex - int inotify_thread_kill; + TWAtomicInt inotify_thread_kill; }; #endif // _MTP_STORAGE_H |