Branch: Tag:

2015-10-05

2015-10-05 12:57:21 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Filesystem.Monitor [Inotify]: Added INHIBIT_INOTIFY_MONITOR.

This #define turns off Inotify accelleration.

879:    {    if (wd != -1) return;    + #ifndef INHIBIT_INOTIFY_MONITOR    if (initial && !instance) {    MON_WERR("Creating Inotify monitor instance.\n");    instance = System.Inotify._Instance();
920:    return;    }    }; + #endif /* !INHIBIT_INOTIFY_MONITOR */    MON_WERR("Registering %O for polling.\n", path);    ::register_path(initial);    }