mirror of
https://github.com/rclone/rclone.git
synced 2025-02-20 03:43:00 +08:00

The race detector complained whenever SIGUSR2 was sent to rclone so this adds a mutex to prevent concurrent access.
11 lines
267 B
Go
11 lines
267 B
Go
// Accounting and limiting reader
|
|
// Non-unix specific functions.
|
|
|
|
// +build !darwin,!dragonfly,!freebsd,!linux,!netbsd,!openbsd,!solaris
|
|
|
|
package fs
|
|
|
|
// startSignalHandler() is Unix specific and does nothing under non-Unix
|
|
// platforms.
|
|
func startSignalHandler() {}
|