Author: Gavin Hurlbut <ghurlbut@mythtv.org>
Change Date: 2011-05-05T14:19:22-07:00
Push Date: 2011/05/05 14:43:34 -0700
Repository: mythtv
Branch: master
New Revision: 8ea47bcc8c71c82ed81a5e655259ccdec1bccef9
Changeset: https://github.com/MythTV/mythtv/commit/8ea47bcc8
Log:
Convert DeleteThread and TruncateThread to QRunnable
Fixes #9757.
It seems that it might be the DeleteThread exiting poorly causing this issue.
As I'd earlier found that the this->deleteLater() code structure is nasty in
QThreads, this was ripe for a redo anyways. I have changed it to using a
QRunnable (kinda a lightweight QThread) which actually will run in a thread
from a global threadpool, and will clean up after itself. Since the
TruncateThread was nearly identical in structure, I changed it too.
Modified:
mythtv/programs/mythbackend/mainserver.cpp
mythtv/programs/mythbackend/mainserver.h
_______________________________________________
mythtv-firehose mailing list
mythtv-firehose@mythtv.org
http://www.mythtv.org/mailman/listinfo/mythtv-firehose
Change Date: 2011-05-05T14:19:22-07:00
Push Date: 2011/05/05 14:43:34 -0700
Repository: mythtv
Branch: master
New Revision: 8ea47bcc8c71c82ed81a5e655259ccdec1bccef9
Changeset: https://github.com/MythTV/mythtv/commit/8ea47bcc8
Log:
Convert DeleteThread and TruncateThread to QRunnable
Fixes #9757.
It seems that it might be the DeleteThread exiting poorly causing this issue.
As I'd earlier found that the this->deleteLater() code structure is nasty in
QThreads, this was ripe for a redo anyways. I have changed it to using a
QRunnable (kinda a lightweight QThread) which actually will run in a thread
from a global threadpool, and will clean up after itself. Since the
TruncateThread was nearly identical in structure, I changed it too.
Modified:
mythtv/programs/mythbackend/mainserver.cpp
mythtv/programs/mythbackend/mainserver.h
_______________________________________________
mythtv-firehose mailing list
mythtv-firehose@mythtv.org
http://www.mythtv.org/mailman/listinfo/mythtv-firehose