pa-card-profile-tray/threadedmainlooplock.cpp

12 lines
244 B
C++
Raw Normal View History

2018-10-01 07:00:27 +00:00
#include "threadedmainlooplock.h"
ThreadedMainLoopLock::ThreadedMainLoopLock(pa_threaded_mainloop* ml) :
ml(ml)
{
pa_threaded_mainloop_lock(ml);
}
ThreadedMainLoopLock::~ThreadedMainLoopLock() {
pa_threaded_mainloop_unlock(ml);
}