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)NAMEatomic_dec_and_mutex_lock - return holding mutex if we dec to 0SYNOPSISint atomic_dec_and_mutex_lock(atomic_t * cnt, struct mutex * lock);ARGUMENTScnt the atomic which we are to dec lock the mutex to return holding if we dec to 0DESCRIPTIONreturn true and hold lock if we dec to 0, return false otherwiseAUTHORRusty Russell <rusty@rustcorp.com.au> Author.COPYRIGHTKernel Hackers Manual 3.10 June 2014 ATOMIC_DEC_AND_MUTEX(9)
| Related Man Pages |
|---|
| pthread_mutex_unlock(3) - mojave |
| sbmutex(3) - debian |
| pthread_mutex_trylock(3) - osf1 |
| pthread_mutex_trylock(3) - freebsd |
| apr::threadmutex(3) - osx |
| Similar Topics in the Unix Linux Community |
|---|
| How to increment version inside a file? |
| DB2 convert digits to binary format |
| Tar Command |
| Unsure why access time on a directory change isn't changing |
| Controlling user input |