wait_on_bit_lock man page on OpenSuSE

Man page or keyword search:  
man Server   25941 pages
apropos Keyword Search (all sections)
Output format
OpenSuSE logo
[printable version]

WAIT_ON_BIT_LOCK(9)		 Driver Basics		   WAIT_ON_BIT_LOCK(9)

NAME
       wait_on_bit_lock - wait for a bit to be cleared, when wanting to set it

SYNOPSIS
       int wait_on_bit_lock(void * word, int bit, int (*action) (void *),
			    unsigned mode);

ARGUMENTS
       word
	   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 in

DESCRIPTION
       There 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.

COPYRIGHT
Kernel Hackers Manual 3.11	 November 2013		   WAIT_ON_BIT_LOCK(9)
[top]

List of man pages available for OpenSuSE

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net