Documentation
¶
Index ¶
Constants ¶
View Source
const ( Goroutine = "goroutine" // 协程字符串 Space = " " // 空格 CharSpace = ' ' // 空格 )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ReentrantMutex ¶
type ReentrantMutex struct {
// contains filtered or unexported fields
}
ReentrantMutex 实现可重入锁
func (*ReentrantMutex) Lock ¶
func (my *ReentrantMutex) Lock()
func (*ReentrantMutex) TryLock ¶
func (my *ReentrantMutex) TryLock() bool
func (*ReentrantMutex) Unlock ¶
func (my *ReentrantMutex) Unlock()
Click to show internal directories.
Click to hide internal directories.