Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for runtime_notifyListCheck (0.17 sec)

  1. src/sync/runtime.go

    // See runtime/sema.go for documentation.
    func runtime_notifyListNotifyOne(l *notifyList)
    
    // Ensure that sync and runtime agree on size of notifyList.
    func runtime_notifyListCheck(size uintptr)
    func init() {
    	var n notifyList
    	runtime_notifyListCheck(unsafe.Sizeof(n))
    }
    
    // Active spinning runtime support.
    // runtime_canSpin reports whether spinning makes sense at the moment.
    func runtime_canSpin(i int) bool
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 16 16:32:27 UTC 2022
    - 2.3K bytes
    - Viewed (0)
  2. src/runtime/sema.go

    			}
    			if n == nil {
    				l.tail = p
    			}
    			unlock(&l.lock)
    			s.next = nil
    			readyWithTime(s, 4)
    			return
    		}
    	}
    	unlock(&l.lock)
    }
    
    //go:linkname notifyListCheck sync.runtime_notifyListCheck
    func notifyListCheck(sz uintptr) {
    	if sz != unsafe.Sizeof(notifyList{}) {
    		print("runtime: bad notifyList size - sync=", sz, " runtime=", unsafe.Sizeof(notifyList{}), "\n")
    		throw("bad notifyList size")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 19K bytes
    - Viewed (0)
Back to top