Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for test27660 (0.31 sec)

  1. src/cmd/cgo/internal/test/test.go

    // attempt to reproduce the memory corruption described in #27660.
    // The bug was very timing sensitive; at the time of writing this
    // test would only trigger the bug about once out of every five runs.
    
    func test27660(t *testing.T) {
    	ctx, cancel := context.WithCancel(context.Background())
    	defer cancel()
    	ints := make([]int, 100)
    	locks := make([]sync.Mutex, 100)
    	// Slowly create threads so that ThreadSanitizer is forced to
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:50:06 UTC 2024
    - 48.5K bytes
    - Viewed (0)
Back to top