N

ninja-mutex

Simple to use mutex implementation that can use directory, flock, memcache, memcached, mysql or redis for locking.