Wait queues and Wake events
Prev | Chapter 1. Driver Basics | Next

## Wait queues and Wake events

wait_event — sleep until a condition gets true
wait_event_timeout — sleep until a condition gets true or a timeout elapses
wait_event_cmd — sleep until a condition gets true
wait_event_interruptible — sleep until a condition gets true
wait_event_interruptible_timeout — sleep until a condition gets true or a timeout elapses
wait_event_hrtimeout — sleep until a condition gets true or a timeout elapses
wait_event_interruptible_hrtimeout — sleep until a condition gets true or a timeout elapses
wait_event_interruptible_locked — sleep until a condition gets true
wait_event_interruptible_locked_irq — sleep until a condition gets true
wait_event_interruptible_exclusive_locked — sleep exclusively until a condition gets true
wait_event_interruptible_exclusive_locked_irq — sleep until a condition gets true
wait_event_killable — sleep until a condition gets true
wait_event_lock_irq_cmd — sleep until a condition gets true. The condition is checked under the lock. This is expected to be called with the lock taken.
wait_event_lock_irq — sleep until a condition gets true. The condition is checked under the lock. This is expected to be called with the lock taken.
wait_event_interruptible_lock_irq_cmd — sleep until a condition gets true. The condition is checked under the lock. This is expected to be called with the lock taken.
wait_event_interruptible_lock_irq — sleep until a condition gets true. The condition is checked under the lock. This is expected to be called with the lock taken.
wait_event_interruptible_lock_irq_timeout — sleep until a condition gets true or a timeout elapses. The condition is checked under the lock. This is expected to be called with the lock taken.
wait_on_bit — wait for a bit to be cleared
wait_on_bit_lock — wait for a bit to be cleared, when wanting to set it
wait_on_atomic_t — Wait for an atomic_t to become 0
__wake_up — wake up threads blocked on a waitqueue.
__wake_up_sync_key — wake up threads blocked on a waitqueue.
finish_wait — clean up after waiting in a queue
abort_exclusive_wait — abort exclusive waiting in a queue
wake_up_bit — wake up a waiter on a bit
wake_up_atomic_t — Wake up a waiter on a atomic_t

Prev | Up | Next
usleep_range | Home | wait_event