Rechercher une page de manuel
try_wait_for_completion
Langue: en
Version: May 2009 (fedora - 06/07/09)
Section: 9 (Appels noyau Linux)
NAME
try_wait_for_completion - try to decrement a completion without blockingSYNOPSIS
- bool try_wait_for_completion(struct completion * x);
ARGUMENTS
x
- completion structure
RETURNS
0 if a decrement cannot be done without blocking 1 if a decrement succeeded.
If a completion is being used as a counting completion, attempt to decrement the counter without blocking. This enables us to avoid waiting if the resource the completion is protecting is not available.
COPYRIGHT
Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre