try_wait_for_completion(9) suse man page | unix.com

Man Page: try_wait_for_completion

Operating Environment: suse

Section: 9

TRY_WAIT_FOR_COMPLET(9) 					   Driver Basics					   TRY_WAIT_FOR_COMPLET(9)

NAME
try_wait_for_completion - try to decrement a completion without blocking
SYNOPSIS
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
Kernel Hackers Manual 2.6. July 2010 TRY_WAIT_FOR_COMPLET(9)
Related Man Pages
vput(9) - freebsd
ibv_create_comp_channel(3) - debian
vunref(9) - debian
vunref(9) - freebsd
vput(9) - opensolaris
Similar Topics in the Unix Linux Community
Change directory error
Cut command on RHEL 6.8 compatibility issues
Tar Command
A (ksh) Library For and From UNIX.com
The Future of the PM (Private Message) System at UNIX.com