[erlang-questions] new version of file_monitor.erl - beta testers wanted
Tue Jan 20 17:36:48 CET 2009
The blocking bug that Vlad Dumitrescu found was due to the handling of
atime on Windows, so I have redesigned the polling to avoid any
dependance on such things. It now ought to work on all platforms,
and calls should never block.
Richard Carlsson wrote:
> I've been rewriting my file monitor module: it's still polling only, but
> now it's a gen_server, supports recursive monitoring, and is documented:
> The source code is here (it lives in the eunit project at present):
> There is also an accompanying eunit test suite module:
> Any feedback (bugs, usability, performance, documentation) is welcome.
> I'll try to get it into OTP if it seems to be useful enough. The
> performance is fairly good; I've tried recursive monitoring on my entire
> OTP development tree containing something like 18 thousand files.
More information about the erlang-questions