Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for racegostart (0.22 sec)

  1. src/runtime/race0.go

    func racemalloc(p unsafe.Pointer, sz uintptr)                               { throw("race") }
    func racefree(p unsafe.Pointer, sz uintptr)                                 { throw("race") }
    func racegostart(pc uintptr) uintptr                                        { throw("race"); return 0 }
    func racegoend()                                                            { throw("race") }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 2.8K bytes
    - Viewed (0)
  2. src/runtime/race.go

    	racecall(&__tsan_malloc, 0, 0, uintptr(p), sz)
    }
    
    //go:nosplit
    func racefree(p unsafe.Pointer, sz uintptr) {
    	racecall(&__tsan_free, uintptr(p), sz, 0, 0)
    }
    
    //go:nosplit
    func racegostart(pc uintptr) uintptr {
    	gp := getg()
    	var spawng *g
    	if gp.m.curg != nil {
    		spawng = gp.m.curg
    	} else {
    		spawng = gp
    	}
    
    	var racectx uintptr
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:37:29 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  3. src/runtime/time.go

    		// so there is no chance of getg().m being reassigned
    		// out from under us while this function executes.
    		tsLocal := &getg().m.p.ptr().timers
    		if tsLocal.raceCtx == 0 {
    			tsLocal.raceCtx = racegostart(abi.FuncPCABIInternal((*timers).run) + sys.PCQuantum)
    		}
    		raceacquirectx(tsLocal.raceCtx, unsafe.Pointer(t))
    	}
    
    	if t.state&(timerModified|timerZombie) != 0 {
    		badTimer()
    	}
    
    	f := t.f
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 29 14:36:24 UTC 2024
    - 37.5K bytes
    - Viewed (0)
  4. src/runtime/proc.go

    	mp.isextra = true
    	// mark we are in C by default.
    	mp.isExtraInC = true
    	mp.lockedInt++
    	mp.lockedg.set(gp)
    	gp.lockedm.set(mp)
    	gp.goid = sched.goidgen.Add(1)
    	if raceenabled {
    		gp.racectx = racegostart(abi.FuncPCABIInternal(newextram) + sys.PCQuantum)
    	}
    	// put on allg for garbage collector
    	allgadd(gp)
    
    	// gp is now on the allg list, but we don't want it to be
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 207.5K bytes
    - Viewed (0)
  5. src/runtime/mgc.go

    		}
    
    		// We'll releasem after this point and thus this P may run
    		// something else. We must clear the worker mode to avoid
    		// attributing the mode to a different (non-worker) G in
    		// traceGoStart.
    		pp.gcMarkWorkerMode = gcMarkWorkerNotWorker
    
    		// If this worker reached a background mark completion
    		// point, signal the main GC goroutine.
    		if incnwait == work.nproc && !gcMarkWorkAvailable(nil) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 62K bytes
    - Viewed (0)
Back to top