[mythtv-commits] mythtv commit: r10300 by rrobertson
mythtv at cvs.mythtv.org
mythtv at cvs.mythtv.org
Mon Jun 26 08:04:27 UTC 2006
Author: rrobertson
Date: 2006-06-26 08:04:26 +0000 (Mon, 26 Jun 2006)
New Revision: 10300
Changeset: http://cvs.mythtv.org/trac/changeset/10300
Modified:
branches/commflagging/mythtv/programs/mythcommflag/ClassicCommDetector.cpp
branches/commflagging/mythtv/programs/mythcommflag/ClassicCommDetector.h
Log:
After trying different methods for threading, I settled on pthreads.
I was able to make the workerThread a static function in ClassicCommDetector, and i'm using the pthread paramater to pass 'this'.
I've demonstrated that know I have complete access to member variables within each new thread.
Soon, the body of ClassicCommDetector::go() will end with the calls to join, and the threads will process each frame until they are done, and the QMap available is empty.
More information about the mythtv-commits
mailing list