We use non-recursive locks too. The pattern is: --- bool wasMyLock=obj.isMyLock(); if(!wasMyLock)obj.lock(); ...code... if(!wasMyLock)obj.unlock(); ---
- Mutexes and locking alexhairyman
- Re: Mutexes and locking Ali Çehreli
- Re: Mutexes and locking alexhairyman
- Re: Mutexes and locking yazd
- Re: Mutexes and locking Sean Kelly
- Re: Mutexes and locking Jeremy DeHaan
- Re: Mutexes and locking Ali Çehreli
- Re: Mutexes and locking Kagamin
