package core_unix
Module Lock_file_blocking.MkdirSource
This is the dumbest lock imaginable: we mkdir to lock and rmdir to unlock. This gives you pretty good mutual exclusion, but it makes you vulnerable to stale locks.
Raises an exception if the mkdir system call fails for any reason other than EEXIST.