* RescanDiskSystems() now locks the disk device manager, as it clobbers the
disk system lists. * Added module watching; on module changes, it will now automatically rescan the disk systems. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26368 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -102,6 +102,7 @@ private:
|
||||
struct DiskSystemMap;
|
||||
struct PartitionMap;
|
||||
struct PartitionSet;
|
||||
class DiskSystemWatcher;
|
||||
class DeviceWatcher;
|
||||
|
||||
static status_t _CheckMediaStatusDaemon(void* self);
|
||||
@@ -132,6 +133,7 @@ private:
|
||||
PartitionSet *fObsoletePartitions;
|
||||
thread_id fMediaChecker;
|
||||
volatile bool fTerminating;
|
||||
DiskSystemWatcher *fDiskSystemWatcher;
|
||||
DeviceWatcher *fDeviceWatcher;
|
||||
|
||||
static KDiskDeviceManager *sDefaultManager;
|
||||
|
||||
Reference in New Issue
Block a user