mirror of
https://github.com/minio/minio.git
synced 2025-11-09 21:49:46 -05:00
simplify usage of mutexes and atomic constants (#9501)
This commit is contained in:
@@ -34,9 +34,10 @@ var (
|
||||
DebugPrint = false
|
||||
|
||||
// Used by the caller to print multiple lines atomically. Exposed by Lock/Unlock methods.
|
||||
publicMutex = &sync.Mutex{}
|
||||
publicMutex sync.Mutex
|
||||
|
||||
// Used internally by console.
|
||||
privateMutex = &sync.Mutex{}
|
||||
privateMutex sync.Mutex
|
||||
|
||||
stderrColoredOutput = colorable.NewColorableStderr()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user