mirror of
https://github.com/tmux-plugins/tmux-continuum.git
synced 2024-12-22 15:48:50 +00:00
800488ca6f
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. |
||
---|---|---|
.. | ||
handle_tmux_automatic_start | ||
check_tmux_version.sh | ||
continuum_restore.sh | ||
continuum_save.sh | ||
continuum_status.sh | ||
handle_tmux_automatic_start.sh | ||
helpers.sh | ||
shared.sh | ||
variables.sh |