- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for EnsureBindM (0.11 sec)
-
src/runtime/testdata/testprogcgo/bindm.go
cThreadToM = map[uintptr]uintptr{} started = atomic.Uint32{} ) // same as CTHREADS in C, make sure all the C threads are actually started. const cThreadNum = 2 func init() { register("EnsureBindM", EnsureBindM) } //export GoCheckBindM func GoCheckBindM(thread uintptr) { // Wait all threads start if started.Load() != cThreadNum { // Only once for each thread, since it will wait all threads start.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 17 21:53:11 UTC 2023 - 1.2K bytes - Viewed (0) -
src/runtime/crash_cgo_test.go
} func TestEnsureBindM(t *testing.T) { t.Parallel() switch runtime.GOOS { case "windows", "plan9": t.Skipf("skipping bindm test on %s", runtime.GOOS) } got := runTestProg(t, "testprogcgo", "EnsureBindM") want := "OK\n" if got != want { t.Errorf("expected %q, got %v", want, got) } } func TestStackSwitchCallback(t *testing.T) { t.Parallel() switch runtime.GOOS {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 15 16:44:47 UTC 2024 - 22.2K bytes - Viewed (0)