refactor: show thread names in GDB for better debugging (#848)

This commit is contained in:
Murat Seker
2020-06-28 23:43:45 +02:00
committed by GitHub
parent a68ed7d44f
commit 485beab4f3
4 changed files with 9 additions and 0 deletions

View File

@@ -9,6 +9,8 @@ AmlogicWrapper::AmlogicWrapper(const unsigned grabWidth, const unsigned grabHeig
_thread(this),
_grabber(grabWidth, grabHeight)
{
_thread.setObjectName("AmlogicWrapperThread");
// Connect capturing to the timeout signal of the timer
connect(&_thread, SIGNAL (started()), this, SLOT(capture()));
}