- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestYieldLockedProgress (0.21 sec)
-
src/runtime/proc_test.go
compl <- true }() go perpetuumMobile() <-compl <-compl stop <- true runtime.GOMAXPROCS(maxprocs) } func TestYieldProgress(t *testing.T) { testYieldProgress(false) } func TestYieldLockedProgress(t *testing.T) { testYieldProgress(true) } func testYieldProgress(locked bool) { c := make(chan bool) cack := make(chan bool) go func() { if locked { runtime.LockOSThread() } for {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jun 14 00:03:57 UTC 2023 - 25.8K bytes - Viewed (0)