[PREVIOUS CHAPTER]
[NEXT CHAPTER]
2 locsk
2.1 Lock Algorithm
FML uses flock(2) in default. If you use flock(2), set
$USE_FLOCK = 1; (default 1)
If flock(2) does not work on your OS, set
$USE_FLOCK = 0;
to use a lock based on link(2). This algorithm uses lockfiles whereas
flock(2) is only in kernel. If the machine shutdowns or reboots
suddenly, temporary lock files may be left in the lock spool. If
exists, please remove them.
2.2 remove lockfiles when lock is broken?
remove all lockfiles if fml processes not run.
[PREVIOUS CHAPTER]
[NEXT CHAPTER]