Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for notesleep (0.13 sec)

  1. src/runtime/proc.go

    		cgoHasExtraM = true
    		newextram()
    	}
    	initsig(false)
    }
    
    // mPark causes a thread to park itself, returning once woken.
    //
    //go:nosplit
    func mPark() {
    	gp := getg()
    	notesleep(&gp.m.park)
    	noteclear(&gp.m.park)
    }
    
    // mexit tears down and exits the current thread.
    //
    // Don't call this directly to exit the thread, since it must run at
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 207.5K bytes
    - Viewed (0)
Back to top