Index: src/libchcore/TTask.h =================================================================== diff -u -ra27d1acf1bda3c25b6dcce0d0eb0278009ce63ae -rfb881f503caba7b2ade610ba7fc1a36a5aea5d01 --- src/libchcore/TTask.h (.../TTask.h) (revision a27d1acf1bda3c25b6dcce0d0eb0278009ce63ae) +++ src/libchcore/TTask.h (.../TTask.h) (revision fb881f503caba7b2ade610ba7fc1a36a5aea5d01) @@ -27,7 +27,6 @@ #include "TBasePathData.h" #include "TSubTaskBase.h" #include "TTaskLocalStats.h" -#include "TLocalFilesystem.h" #include "TSubTaskArray.h" #include "TSubTaskContext.h" #include "TTaskStatsSnapshot.h" @@ -36,6 +35,7 @@ #include "TEvent.h" #include #include "log.h" +#include "IFilesystem.h" namespace chcore { @@ -169,17 +169,18 @@ // other helpers chcore::log_file m_log; ///< Log file where task information will be stored - // Local filesystem access - TLocalFilesystem m_fsLocal; - /// Thread controlling object TWorkerThreadController m_workerThread; /// Mutex for locking concurrent access to members of this class #pragma warning(push) #pragma warning(disable: 4251) - TTaskLocalStatsInfo m_tLocalStats; // local statistics + // Local filesystem access + IFilesystemPtr m_fsLocal; + // local statistics + TTaskLocalStatsInfo m_tLocalStats; + mutable boost::shared_mutex m_lock; #pragma warning(pop)