Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for note_cleared (0.31 sec)

  1. src/runtime/lock_js.go

    	notes            = make(map[*note]*g)
    	notesWithTimeout = make(map[*note]noteWithTimeout)
    )
    
    func noteclear(n *note) {
    	n.key = note_cleared
    }
    
    func notewakeup(n *note) {
    	// gp := getg()
    	if n.key == note_woken {
    		throw("notewakeup - double wakeup")
    	}
    	cleared := n.key == note_cleared
    	n.key = note_woken
    	if cleared {
    		goready(notes[n], 1)
    	}
    }
    
    func notesleep(n *note) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 21:02:20 UTC 2023
    - 7.3K bytes
    - Viewed (0)
Back to top