try_wait_for_completion(9) centos man page | unix.com

Man Page: try_wait_for_completion

Operating Environment: centos

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
RETURN
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 3.10 June 2014 TRY_WAIT_FOR_COMPLET(9)
Related Man Pages
usb_poison_urb(9) - centos
vput(9) - freebsd
ibv_destroy_comp_channel(3) - debian
ibv_ack_cq_events(3) - centos
ibv_get_cq_event(3) - centos
Similar Topics in the Unix Linux Community
Best performance UNIX just for HOST Virtualization?
CentOS7 restoring file capabilities
Docker learning Phase-I
CentOS 6 ran out of space, need to reclaim it
Controlling user input