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
sbmutex(3) - debian
tis_mutex_trylock(3) - osf1
pthread_mutex_trylock(3) - freebsd
apr::threadmutex(3) - osx
Similar Topics in the Unix Linux Community
Is UNIX an open source OS ?
Weird 'find' results
Best performance UNIX just for HOST Virtualization?
CentOS7 restoring file capabilities
Docker learning Phase-I