mirror of
https://github.com/f4exb/sdrangel.git
synced 2026-06-02 06:04:39 -04:00
File source debugging interim state #1
This commit is contained in:
@@ -47,6 +47,7 @@ FileSourceThread::~FileSourceThread()
|
||||
|
||||
void FileSourceThread::startWork()
|
||||
{
|
||||
std::cerr << "FileSourceThread::startWork" << std::endl;
|
||||
m_startWaitMutex.lock();
|
||||
start();
|
||||
while(!m_running)
|
||||
@@ -56,6 +57,7 @@ void FileSourceThread::startWork()
|
||||
|
||||
void FileSourceThread::stopWork()
|
||||
{
|
||||
std::cerr << "FileSourceThread::stopWork" << std::endl;
|
||||
m_running = false;
|
||||
wait();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user