- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for BenchmarkSemaSyntNonblock (4.14 sec)
-
src/sync/runtime_sema_test.go
if work { for i := 0; i < 100; i++ { foo *= 2 foo /= 2 } } Runtime_Semacquire(&sem) } _ = foo Runtime_Semrelease(&sem, false, 0) }) } func BenchmarkSemaSyntNonblock(b *testing.B) { benchmarkSema(b, false, false) } func BenchmarkSemaSyntBlock(b *testing.B) { benchmarkSema(b, true, false) } func BenchmarkSemaWorkNonblock(b *testing.B) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 05 14:59:31 UTC 2019 - 1.3K bytes - Viewed (0)