Query: wait_on_bit_lock
OS: centos
Section: 9
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
WAIT_ON_BIT_LOCK(9) Driver Basics WAIT_ON_BIT_LOCK(9)NAMEwait_on_bit_lock - wait for a bit to be cleared, when wanting to set itSYNOPSISint wait_on_bit_lock(void * word, int bit, int (*action) (void *), unsigned mode);ARGUMENTSword the word being waited on, a kernel virtual address bit the bit of the word being waited on action the function used to sleep, which may take special actions mode the task state to sleep inDESCRIPTIONThere is a standard hashed waitqueue table for generic use. This is the part of the hashtable's accessor API that waits on a bit when one intends to set it, for instance, trying to lock bitflags. For instance, if one were to have waiters trying to set bitflag and waiting for it to clear before setting it, one would call wait_on_bit in threads waiting to be able to set the bit. One uses wait_on_bit_lock where one is waiting for the bit to clear with the intention of setting it, and when done, clearing it.COPYRIGHTKernel Hackers Manual 3.10 June 2014 WAIT_ON_BIT_LOCK(9)
Related Man Pages |
---|
bitmap_remap(9) - centos |
wait_event_interruptible_exclusive_locked_irq(9) - centos |
wait(2) - v7 |
swap_lw_bytes(9r) - osf1 |
swap_words(9r) - osf1 |
Similar Topics in the Unix Linux Community |
---|
Set hard block limit for user using quota |
How to increment version inside a file? |
DB2 convert digits to binary format |
Tar Command |
[TIP] Processing YAML files with yq |