… | |
… | |
1634 | When C<inotify (7)> support has been compiled into libev (generally only |
1634 | When C<inotify (7)> support has been compiled into libev (generally only |
1635 | available on Linux) and present at runtime, it will be used to speed up |
1635 | available on Linux) and present at runtime, it will be used to speed up |
1636 | change detection where possible. The inotify descriptor will be created lazily |
1636 | change detection where possible. The inotify descriptor will be created lazily |
1637 | when the first C<ev_stat> watcher is being started. |
1637 | when the first C<ev_stat> watcher is being started. |
1638 | |
1638 | |
1639 | Inotify presense does not change the semantics of C<ev_stat> watchers |
1639 | Inotify presence does not change the semantics of C<ev_stat> watchers |
1640 | except that changes might be detected earlier, and in some cases, to avoid |
1640 | except that changes might be detected earlier, and in some cases, to avoid |
1641 | making regular C<stat> calls. Even in the presense of inotify support |
1641 | making regular C<stat> calls. Even in the presence of inotify support |
1642 | there are many cases where libev has to resort to regular C<stat> polling. |
1642 | there are many cases where libev has to resort to regular C<stat> polling. |
1643 | |
1643 | |
1644 | (There is no support for kqueue, as apparently it cannot be used to |
1644 | (There is no support for kqueue, as apparently it cannot be used to |
1645 | implement this functionality, due to the requirement of having a file |
1645 | implement this functionality, due to the requirement of having a file |
1646 | descriptor open on the object at all times). |
1646 | descriptor open on the object at all times). |