1
mirror of https://github.com/rclone/rclone synced 2024-11-29 07:55:12 +01:00
rclone/fs/accounting
Nick Craig-Wood 6f87267b34 accounting: fix locking in Transfer to avoid deadlock with --progress
Before this change, using -P occasionally deadlocked on the transfer
mutex and the stats mutex since they call each other via the progress
printing.

This is fixed by shortening the locking windows and converting the
mutex to a RW mutex.
2019-08-08 15:46:46 +01:00
..
accounting_other.go Break the fs package up into smaller parts. 2018-01-15 17:51:14 +00:00
accounting_test.go build: fix up package paths after repo move 2019-07-28 18:47:38 +01:00
accounting_unix.go build: fix up package paths after repo move 2019-07-28 18:47:38 +01:00
accounting.go build: fix up package paths after repo move 2019-07-28 18:47:38 +01:00
inprogress.go build: fix up package paths after repo move 2019-07-28 18:47:38 +01:00
stats_groups.go accounting: add call to clear stats 2019-08-02 16:56:19 +01:00
stats_test.go build: fix up package paths after repo move 2019-07-28 18:47:38 +01:00
stats.go build: fix up package paths after repo move 2019-07-28 18:47:38 +01:00
stringset.go build: fix up package paths after repo move 2019-07-28 18:47:38 +01:00
token_bucket_test.go build: fix up package paths after repo move 2019-07-28 18:47:38 +01:00
token_bucket.go build: fix up package paths after repo move 2019-07-28 18:47:38 +01:00
transfer.go accounting: fix locking in Transfer to avoid deadlock with --progress 2019-08-08 15:46:46 +01:00