View Source mutagen (mutagen v0.1.0)

Mutagen is a mutex server for Nitrogen and Erlang. It has been pulled out of nitro_cache to be its own dependency. There are no pre-set mutexes. Simply requesting a mutex with lock/1 or lock/2 will either issue a mutex or return "fail" if the mutex is not free, or if you set a timeout, it will wait until it frees.