Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for RaceEnable (0.77 sec)

  1. src/runtime/race.go

    // Handling is re-enabled with RaceEnable. RaceDisable/RaceEnable can be nested.
    // Non-synchronization events (memory accesses, function entry/exit) still affect
    // the race detector.
    //
    //go:nosplit
    func RaceDisable() {
    	gp := getg()
    	if gp.raceignore == 0 {
    		racecall(&__tsan_go_ignore_sync_begin, gp.racectx, 0, 0, 0)
    	}
    	gp.raceignore++
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:37:29 UTC 2024
    - 20.4K bytes
    - Viewed (0)
Back to top