NixOS/charon — pull request #46 by shlevy (2012-07-25 12:00:11+00:00)
Title: Extract state file locking into a separate class that can be used with a with statement.

This allows long-running processes to perform lock-requiring operations without needing to release the lock manually.