Rechercher une page de manuel
wake_up
Langue: en
Version: $Date:$ (mandriva - 22/10/07)
Section: 9 (Appels noyau Linux)
NAME
wake_up - wake up sleeping processesSYNOPSIS
#include <linux/sched.h>- void wake_up(struct wait_queue**condition)
DESCRIPTION
- The wake_up function is the opposite of the sleep_on(9) function in that it awakens processes that have gone to sleep using the same condition variable. All the processes sleeping on the given condition are awakened. If there are no processes sleeping on the condition, then none are affected.
Unlike the sleep_on(9) function, wake_up does not block and may be called by interrupt handlers. It is in fact the principle means of synchronizing with interrupt events.
If the condition parameter is NULL, or there are no processes sleeping on condition, the call to wake_up is a no-op.
RETURN VALUE
None.AVAILABILITY
Linux 1+SEE ALSO
sleep_on(9)/usr/src/linux/kernel/sched.c
AUTHOR
Stephen Williams <steve@icarus.com>BUGS
Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre