FastLED 3.9.15
Loading...
Searching...
No Matches

◆ unlock()

template<typename T>
void fl::MutexFake< T >::unlock ( )
inline

Definition at line 42 of file mutex.h.

42 {
43 // In single-threaded mode, we just track the lock count for debugging
44 FL_ASSERT(mLockCount > 0, "MutexFake: unlock called without matching lock");
45 mLockCount--;
46 }
#define FL_ASSERT(x, MSG)
Definition assert.h:6
int mLockCount
Definition mutex.h:25