- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestMutexLock (0.21 sec)
-
src/internal/poll/fd_mutex_test.go
// license that can be found in the LICENSE file. package poll_test import ( . "internal/poll" "math/rand" "runtime" "strings" "testing" "time" ) func TestMutexLock(t *testing.T) { var mu XFDMutex if !mu.Incref() { t.Fatal("broken") } if mu.Decref() { t.Fatal("broken") } if !mu.RWLock(true) { t.Fatal("broken") } if mu.RWUnlock(true) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Oct 08 03:57:40 UTC 2022 - 4K bytes - Viewed (0)