- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for debugCallWorker2 (0.16 sec)
-
src/runtime/debug_test.go
defer runtime.UnlockOSThread() ready <- runtime.Getg() x := 2 debugCallWorker2(stop, &x) if x != 1 { done <- fmt.Errorf("want x = 2, got %d; register pointer not adjusted?", x) } close(done) } // Don't inline this function, since we want to test adjusting // pointers in the arguments. // //go:noinline func debugCallWorker2(stop *uint32, x *int) { for atomic.LoadUint32(stop) == 0 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 08 15:08:04 UTC 2023 - 8K bytes - Viewed (0)