1
0
mirror of https://github.com/charlienet/go-mixed.git synced 2025-07-18 08:32:40 +08:00

Synchronize

This commit is contained in:
2022-05-12 14:32:58 +08:00
parent 8e33d9dd92
commit c7864d5dc8
3 changed files with 73 additions and 8 deletions

View File

@ -1,13 +1,12 @@
package maps
import (
"sync"
"github.com/charlienet/go-mixed/locker"
)
type options struct {
mu sync.Locker
hasLocker bool
mu locker.RWLocker
}
func acquireDefaultOptions() *options {