Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestStoreLoadSeqCst64 (0.17 sec)

  1. src/sync/atomic/atomic_test.go

    					break
    				}
    				StoreInt32(&ack[me][(i-1)%3], -1)
    			}
    			c <- true
    		}(p)
    	}
    	<-c
    	<-c
    }
    
    func TestStoreLoadSeqCst64(t *testing.T) {
    	if runtime.NumCPU() == 1 {
    		t.Skipf("Skipping test on %v processor machine", runtime.NumCPU())
    	}
    	defer runtime.GOMAXPROCS(runtime.GOMAXPROCS(4))
    	N := int64(1e3)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:37:29 UTC 2024
    - 71.4K bytes
    - Viewed (0)
Back to top