… | |
… | |
2012 | the process. The exception are C<ev_stat> watchers - those call C<stat |
2012 | the process. The exception are C<ev_stat> watchers - those call C<stat |
2013 | ()>, which is a synchronous operation. |
2013 | ()>, which is a synchronous operation. |
2014 | |
2014 | |
2015 | For local paths, this usually doesn't matter: unless the system is very |
2015 | For local paths, this usually doesn't matter: unless the system is very |
2016 | busy or the intervals between stat's are large, a stat call will be fast, |
2016 | busy or the intervals between stat's are large, a stat call will be fast, |
2017 | as the path data is suually in memory already (except when starting the |
2017 | as the path data is usually in memory already (except when starting the |
2018 | watcher). |
2018 | watcher). |
2019 | |
2019 | |
2020 | For networked file systems, calling C<stat ()> can block an indefinite |
2020 | For networked file systems, calling C<stat ()> can block an indefinite |
2021 | time due to network issues, and even under good conditions, a stat call |
2021 | time due to network issues, and even under good conditions, a stat call |
2022 | often takes multiple milliseconds. |
2022 | often takes multiple milliseconds. |