centos man page for try_wait_for_completion

Query: try_wait_for_completion

OS: centos

Section: 9

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

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
ibv_ack_cq_events(3) - debian
ibv_destroy_comp_channel(3) - debian
ibv_create_comp_channel(3) - centos
mq_setattr(2) - hpux
stream_set_blocking(3) - php
Similar Topics in the Unix Linux Community
Set hard block limit for user using quota
DB2 convert digits to binary format
CentOS7 restoring file capabilities
Unsure why access time on a directory change isn't changing
CentOS 6 ran out of space, need to reclaim it