mirror of
https://github.com/pocoproject/poco.git
synced 2024-12-12 18:20:26 +01:00
Option to force PollingDirectoryWatcherStrategy
Add an option to force the use of PollingDirectoryWatcherStrategy Should work on any platform (Not Linux only) See previous PR on this topic : https://github.com/pocoproject/poco/pull/2881 On Linux, inotfy does not work for network volumes (such as NFS). See https://stackoverflow.com/questions/4231243/inotify-with-nfs By adding flag POCO_DW_FORCE_POLLING in Foundation/Config.h, the use of PollingDirectoryWatcherStrategy is forced. This is not the same behavior as flag POCO_NO_INOTIFY. This only disables compilation of DirectoryWatcher.
This commit is contained in:
parent
b651764007
commit
15e96159e2
@ -104,7 +104,7 @@
|
||||
|
||||
// Define to disable compilation of DirectoryWatcher
|
||||
// on platforms with no inotify.
|
||||
//#define POCO_NO_INOTIFY
|
||||
// #define POCO_NO_INOTIFY
|
||||
|
||||
// Define to force the use of PollingDirectoryWatcher
|
||||
// #define POCO_DW_FORCE_POLLING
|
||||
|
Loading…
Reference in New Issue
Block a user