nothing

Fork of FATFileSystem by mbed official

Revision:
8:c4baca9a2c3d
Parent:
1:46ce1e16c870
--- a/FATDirHandle.h	Fri Dec 11 16:16:25 2015 +0000
+++ b/FATDirHandle.h	Thu Aug 25 09:34:29 2016 +0100
@@ -23,19 +23,27 @@
 #define MBED_FATDIRHANDLE_H
 
 #include "DirHandle.h"
+#include "PlatformMutex.h"
 
 using namespace mbed;
 
 class FATDirHandle : public DirHandle {
 
  public:
-    FATDirHandle(const FATFS_DIR &the_dir);
+    FATDirHandle(const FATFS_DIR &the_dir, PlatformMutex * mutex);
     virtual int closedir();
     virtual struct dirent *readdir();
     virtual void rewinddir();
     virtual off_t telldir();
     virtual void seekdir(off_t location);
 
+ protected:
+
+    virtual void lock();
+    virtual void unlock();
+
+    PlatformMutex * _mutex;
+
  private:
     FATFS_DIR dir;
     struct dirent cur_entry;