The full code is below. Ruby program that tries file locking in a directory --sun610.web.fc2.com
The point is
--Use File :: LOCK_EX | File :: LOCK_NB (Reference) --Dir.glob asterisk specification
Recommended Posts