Implements Locking via directory creation, which seems to be the only portable way to do it through Haskell's standard IO library.
Implements Locking via directory creation, which seems to be the only portable way to do it through Haskell's standard IO library.