Files
tmux-continuum/scripts
v9v 800488ca6f Replace flock with mkdir
flock is not supported on MacOS.

`mkdir` locks have a drawback: they are not cleaned up automatically. If the lock owner crashed before cleaning up the lock, the directory will stay in the filesystem and the lock will be never acquired by someone else. To avoid that, we create temporary locks (the lockdir name changes every 100 seconds). We grab two lock (N and N+1) to avoid the case where process A grabs lock N and process B grabs lock N+1 and both enter the critical section.
2019-07-08 15:58:42 +02:00
..
2015-02-11 15:43:37 +01:00
2019-07-08 15:58:42 +02:00
2015-11-29 18:36:13 +01:00
2015-02-12 15:52:10 +01:00