Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for notifyList (0.2 sec)

  1. src/runtime/sema.go

    	}
    	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")
    	}
    }
    
    //go:linkname sync_nanotime sync.runtime_nanotime
    func sync_nanotime() int64 {
    	return nanotime()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 19K bytes
    - Viewed (0)
  2. src/runtime/mklockrank.go

    < SCHED
    # Below SCHED is the scheduler implementation.
    < allocmR,
      execR;
    allocmR, execR, hchan < sched;
    sched < allg, allp;
    
    # Channels
    NONE < notifyList;
    hchan, notifyList < sudog;
    
    hchan, pollDesc, wakeableSleep < timers;
    timers, timerSend < timer < netpollInit;
    
    # Semaphores
    NONE < root;
    
    # Itabs
    NONE
    < itab
    < reflectOffs;
    
    # User arena state
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 17:47:01 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  3. src/sync/cond.go

    type Cond struct {
    	noCopy noCopy
    
    	// L is held while observing or changing the condition
    	L Locker
    
    	notify  notifyList
    	checker copyChecker
    }
    
    // NewCond returns a new Cond with Locker l.
    func NewCond(l Locker) *Cond {
    	return &Cond{L: l}
    }
    
    // Wait atomically unlocks c.L and suspends execution
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 21:14:51 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  4. src/runtime/lockrank.go

    	lockRankAllocmR:         "allocmR",
    	lockRankExecR:           "execR",
    	lockRankSched:           "sched",
    	lockRankAllg:            "allg",
    	lockRankAllp:            "allp",
    	lockRankNotifyList:      "notifyList",
    	lockRankSudog:           "sudog",
    	lockRankTimers:          "timers",
    	lockRankTimer:           "timer",
    	lockRankNetpollInit:     "netpollInit",
    	lockRankRoot:            "root",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 17:47:01 UTC 2024
    - 19.9K bytes
    - Viewed (0)
Back to top