boltdb/bolt — pull request #111 by benbjohnson (2014-04-02 20:07:31+00:00)
Title: Add advisory file locking.

This commit adds advisory locking via flock() to the database file. This ensures that two separate processes cannot both open the same data file which would cause corruption.

Fixes #110.