Fri Apr 16 10:54:49 EDT 2010
FAM and finalizers
Problem: I want files wrapped in reactive objects that are GC-able.
Problem: The FAM keeps a reference to all files monitored, but there
is no direct correspondence from wrapped reactive object to filename,
i.e. two distinct ROs can point to the same filename.
Looks like this needs a level of indirection + resource management.
- keep a *paths* function that maps filenames to a set of reactive
objects. the set of ROs is a weak hash.