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
apr::threadmutex(3) - mojave
mlock(3) - debian
tis_mutex_trylock(3) - osf1
sasl_set_mutex(3sasl) - sunos
apr::threadmutex(3pm) - debian
Similar Topics in the Unix Linux Community
How to increment version inside a file?
DB2 convert digits to binary format
Docker learning Phase-I
Unsure why access time on a directory change isn't changing
CentOS 6 ran out of space, need to reclaim it