Lines Matching full:sleep

90 Sleep queues provide a mechanism for suspending execution of a thread until
100 sleep queue.
101 When a thread blocks on a wait channel it donates its inactive sleep queue
104 the wait channel that it was blocked on gives it an inactive sleep queue for
109 function allocates an inactive sleep queue and is used to assign a
110 sleep queue to a thread during thread creation.
113 function frees the resources associated with an inactive sleep queue and is
116 Active sleep queues are stored in a hash table hashed on the addresses pointed
118 Each bucket in the hash table contains a sleep queue chain.
119 A sleep queue chain contains a spin mutex and a list of sleep queues that hash
121 Active sleep queues are protected by their chain's spin mutex.
124 function initializes the hash table of sleep queue chains.
128 function locks the sleep queue chain associated with wait channel
133 returns a pointer to the currently active sleep queue for that wait
138 if there is no active sleep queue associated with
141 It requires the sleep queue chain associated with
148 function unlocks the sleep queue chain associated with
150 and is primarily useful when aborting a pending sleep request before one of
155 function places the current thread on the sleep queue associated with the
158 The sleep queue chain associated with argument
167 then the sleep queue code will perform extra checks to ensure that
176 parameter is a bitmask consisting of the type of sleep queue being slept on
183 There are currently three types of sleep queues:
187 A sleep queue used to implement condition variables.
189 A sleep queue used to implement
190 .Xr sleep 9 ,
195 A sleep queue used to implement
203 The current thread is entering an interruptible sleep.
207 When thread is entering an interruptible sleep, do not stop it upon
213 A timeout on the sleep may be specified by calling
221 and the sleep queue chain associated with
247 one of the wait functions is called to put the current thread to sleep
266 The sleep queue chain associated with argument
278 If the sleep timed out, then
281 If the sleep was interrupted by something other than a signal,
292 (if SLEEPQ_UNFAIR flag is set, thread that went to sleep recently) while
300 argument must match the sleep queue type contained in the
311 The sleep queue chain associated with argument
320 A thread in an interruptible sleep can be interrupted by another thread via
344 One possible use is waking up a specific thread from a widely shared sleep
373 function after releasing the sleep queue chain lock via a call to
376 The sleep queue interface is currently used to implement the
377 .Xr sleep 9
382 than manipulating sleep queues directly.
388 .Xr sleep 9