1
0
mirror of https://github.com/golang/go synced 2024-11-15 02:30:31 -07:00
Change-Id: I991bb2cdb0f50b28a853f3cb765d0bcaac41310c
This commit is contained in:
qiulaidongfeng 2024-05-04 15:10:44 +08:00
parent 010fe6f6da
commit 3cbfd3c119

View File

@ -54,9 +54,10 @@ func TestChanSendBarrier(t *testing.T) {
testChanSendBarrier(false)
}
var globalMu sync.Mutex
func testChanSendBarrier(useSelect bool) {
var wg sync.WaitGroup
var globalMu sync.Mutex
outer := 100
inner := 100000
if testing.Short() || runtime.GOARCH == "wasm" {