```go
const (
mutexLocked = 1 << iota // mutex is locked
mutexWoken
mutexStarving
mutexWaiterShift = iota
)
func main() {
fmt.Println("mutexLocked的值",mutexLocked)
fmt.Println("mutexWoken的值",mutexWoken)
fmt.Println("mutexStarving的值",mutexStarving)
fmt.Println("mutexWaiterShift的值",mutexWaiterShift)
//为什么结果是:
mutexLocked的值 1
mutexWoken的值 2
mutexStarving的值 4
mutexWaiterShift的值 3
}
```
不是很明白
有疑问加站长微信联系(非本文作者)