Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for waitForSigusr1Callback (0.58 sec)

  1. src/runtime/export_unix_test.go

    	if b != 0 {
    		// timeout signal from caller
    		return -1, -1
    	}
    	return mp.id, gotM
    }
    
    // waitForSigusr1Callback is called from the signal handler during
    // WaitForSigusr1. It must not have write barriers because there may
    // not be a P.
    //
    //go:nowritebarrierrec
    func waitForSigusr1Callback(gp *g) bool {
    	if gp == nil || gp.m == nil {
    		waitForSigusr1.mID = -1
    	} else {
    		waitForSigusr1.mID = gp.m.id
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 20 21:27:51 UTC 2023
    - 2.3K bytes
    - Viewed (0)
Back to top