BAutolock

Constructor and Destructor

BAutolock()

inline BAutolock::BAutolock(BLooper *looper)
inline BAutolock::BAutolock(BLocker *locker)
inline BAutolock::BAutolock(BLocker &locker)

Locks the target looper or locker object.

~BAutolock()

inline BAutolock::~BAutolock()

Unlocks the target BLooper or BLocker.

Member Functions

IsLocked()

inline bool IsLocked()

Returns true if the target BLooper or BLocker is locked, and false if not.