> If only there was some way to know how to kill off all the control
> masters at the end, (i.e. knowing which control masters we ran)
> we could even completely get rid of the code in DarcsCommands has
> make it completely transparent. Any ideas?
Yes -- Tomasz Zielonka has implemented just what you need. See atexit
in AtExit.lhs, and for an example of use, withDelayedDir in Lock.lhs.
If you're puzzled by Tomasz's code, by the way, don't worry -- it
relies on knowledge of GHC internals.
Juliusz
_______________________________________________
darcs-devel mailing list
[email protected]
http://www.abridgegame.org/cgi-bin/mailman/listinfo/darcs-devel