support/Autolock.h
libbe.so
inline BAutolock(BLooper* looper);
BLooper
inline BAutolock(BLocker* locker);
BLocker
inline BAutolock(BLocker& locker);
Locks the target looper or locker object.
looper
locker
inline ~BAutolock();
Unlocks the target BLooper or BLocker.
inline bool IsLocked();
Returns true if the target BLooper or BLocker. is locked, and false if not.
true
false