- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for testThreadLock (0.23 sec)
-
src/cmd/cgo/internal/test/cgo_thread_lock.go
} */ import "C" import ( "runtime" "testing" "time" ) //export Gosched func Gosched() { runtime.Gosched() } func init() { testThreadLockFunc = testThreadLock } func testThreadLock(t *testing.T) { stop := make(chan int) go func() { // We need the G continue running, // so the M has a chance to run this G. for { select { case <-stop: return
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 18 16:55:07 UTC 2023 - 939 bytes - Viewed (0) -
src/cmd/cgo/internal/test/cgo_test.go
func TestReturnAfterGrow(t *testing.T) { testReturnAfterGrow(t) } func TestReturnAfterGrowFromGo(t *testing.T) { testReturnAfterGrowFromGo(t) } func TestSetEnv(t *testing.T) { testSetEnv(t) } func TestThreadLock(t *testing.T) { testThreadLockFunc(t) } func TestUnsignedInt(t *testing.T) { testUnsignedInt(t) } func TestZeroArgCallback(t *testing.T) { testZeroArgCallback(t) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 17 21:53:11 UTC 2023 - 6.4K bytes - Viewed (0)