Query: __wake_up
OS: suse
Section: 9
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
__WAKE_UP(9) Driver Basics __WAKE_UP(9)NAME__wake_up - wake up threads blocked on a waitqueue.SYNOPSISvoid __wake_up(wait_queue_head_t * q, unsigned int mode, int nr_exclusive, void * key);ARGUMENTSq the waitqueue mode which threads nr_exclusive how many wake-one or wake-many threads to wake up key is directly passed to the wakeup functionDESCRIPTIONIt may be assumed that this function implies a write memory barrier before changing the task state if and only if any tasks are woken up.COPYRIGHTKernel Hackers Manual 2.6. July 2010 __WAKE_UP(9)