Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for goexit0 (0.12 sec)

  1. src/runtime/proc.go

    	schedule()
    }
    
    // Finishes execution of the current goroutine.
    func goexit1() {
    	if raceenabled {
    		racegoend()
    	}
    	trace := traceAcquire()
    	if trace.ok() {
    		trace.GoEnd()
    		traceRelease(trace)
    	}
    	mcall(goexit0)
    }
    
    // goexit continuation on g0.
    func goexit0(gp *g) {
    	gdestroy(gp)
    	schedule()
    }
    
    func gdestroy(gp *g) {
    	mp := getg().m
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 207.5K bytes
    - Viewed (0)
  2. src/cmd/cgo/internal/test/callback.go

    		"runtime.cgocall",
    		"test._Cfunc_callback",
    		"test.nestedCall.func1",
    		"test.nestedCall",
    		"test.testCallbackCallers",
    		"test.TestCallbackCallers",
    		"testing.tRunner",
    		"runtime.goexit",
    	}
    	nestedCall(func() {
    		n = runtime.Callers(4, pc)
    	})
    	if n != len(name) {
    		t.Errorf("expected %d frames, got %d", len(name), n)
    	}
    	for i := 0; i < n; i++ {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 12:00:02 UTC 2023
    - 111.5K bytes
    - Viewed (0)
Back to top