mirror of
https://github.com/restic/restic.git
synced 2025-12-08 06:09:56 +00:00
Vendor dependencies with dep
This commit is contained in:
parent
df8a5792f1
commit
91edebf1fe
1691 changed files with 466360 additions and 0 deletions
13
vendor/github.com/pkg/profile/mutex.go
generated
vendored
Normal file
13
vendor/github.com/pkg/profile/mutex.go
generated
vendored
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
// +build go1.8
|
||||
|
||||
package profile
|
||||
|
||||
import "runtime"
|
||||
|
||||
func enableMutexProfile() {
|
||||
runtime.SetMutexProfileFraction(1)
|
||||
}
|
||||
|
||||
func disableMutexProfile() {
|
||||
runtime.SetMutexProfileFraction(0)
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue