Closed this issue 5 years ago · 1 comments
比如这段,
if posCnt >= capMod-1 { runtime.Gosched() return false, posCnt }
如果Get不到数据,或Pu队列已满,这时需要通知Golang调度其他的Go程,Put放入数据或者Get取走数据。