Documentation ¶
Overview ¶
本包提供实现并发安全的工具
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( //读锁没有被持有 Noreadlock error = errors.New("No read lock") //写锁没有被持有 Nowritelock error = errors.New("No write lock") )
读写锁错误
Functions ¶
This section is empty.
Types ¶
type LowMemory_rwMutex ¶
type LowMemory_rwMutex struct {
// contains filtered or unexported fields
}
使用内存少的读写锁,不能复制
Click to show internal directories.
Click to hide internal directories.