atomic_dec_and_mutex_lock(9) centos man page | unix.com

Man Page: atomic_dec_and_mutex_lock

Operating Environment: centos

Section: 9

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_unlock(3) - osf1
pthread_mutex_trylock(3) - osf1
sasl_set_mutex(3sasl) - sunos
apr::threadmutex(3pm) - debian
Similar Topics in the Unix Linux Community
Is UNIX an open source OS ?
DB2 convert digits to binary format
Tar Command
Shopt -s histappend
[TIP] Processing YAML files with yq