2
2
mirror of https://github.com/octoleo/restic.git synced 2025-01-31 10:58:26 +00:00
restic/internal
Michael Eischer e1ba7ab684 lock: Don't copy the lock when checking for process existence
The lock test creates a lock and checks that it is not stale. This also
tests whether the corresponding process still exists. However, it is
possible that the lock is refreshed concurrently, which updates the lock
timestamp. Calling `processExists()` with a value receiver, however,
creates an unsynchronized copy of this field. Thus call the method using
a pointer receiver.
2022-11-11 21:45:55 +01:00
..
2022-10-21 14:32:46 +02:00
2022-07-17 13:42:23 +02:00
2022-10-14 14:06:47 +02:00
2022-05-11 21:36:10 +02:00
2022-10-14 14:33:49 +02:00
2021-01-30 20:19:47 +01:00
2022-11-02 21:31:13 +01:00