centos man page for atomic_dec_and_mutex_lock

Query: atomic_dec_and_mutex_lock

OS: centos

Section: 9

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

ATOMIC_DEC_AND_MUTEX(9) 					Mutex API reference					   ATOMIC_DEC_AND_MUTEX(9)

NAME
atomic_dec_and_mutex_lock - return holding mutex if we dec to 0
SYNOPSIS
int atomic_dec_and_mutex_lock(atomic_t * cnt, struct mutex * lock);
ARGUMENTS
cnt the atomic which we are to dec lock the mutex to return holding if we dec to 0
DESCRIPTION
return true and hold lock if we dec to 0, return false otherwise
AUTHOR
Rusty Russell <rusty@rustcorp.com.au> Author.
COPYRIGHT
Kernel Hackers Manual 3.10 June 2014 ATOMIC_DEC_AND_MUTEX(9)
Related Man Pages
mlock(3) - debian
pthread_mutex_lock(3t) - hpux
pthread_mutex_trylock(3t) - hpux
pthread_mutex_trylock(3) - osf1
sasl_set_mutex(3sasl) - sunos
Similar Topics in the Unix Linux Community
Set hard block limit for user using quota
Best performance UNIX just for HOST Virtualization?
DB2 convert digits to binary format
Tar Command
Shopt -s histappend