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
apr::threadmutex(3) - mojave
pthread_mutex_unlock(3) - mojave
sbmutex(3) - debian
sasl_set_mutex(3sasl) - sunos
sasl_set_mutex(3sasl) - opensolaris
Similar Topics in the Unix Linux Community
Weird 'find' results
Set hard block limit for user using quota
Best performance UNIX just for HOST Virtualization?
DB2 convert digits to binary format
Unsure why access time on a directory change isn't changing