[mythtv-commits] mythtv commit: r7331 by danielk
mythtv at cvs.mythtv.org
mythtv at cvs.mythtv.org
Tue Sep 27 22:50:29 UTC 2005
Author: danielk
Date: 2005-09-27 22:50:25 +0000 (Tue, 27 Sep 2005)
New Revision: 7331
Changeset: http://cvs.mythtv.org/trac/changeset/7331
Modified:
trunk/mythtv/libs/libmythtv/tv_rec.cpp
trunk/mythtv/libs/libmythtv/tv_rec.h
Log:
Removes busy loops from TVRec.
This implements WaitForEventThreadSleep(), which
releases the state lock and waits for the event
loop to send a triggerEventSleep.wakeAll().
Unless you pass false to it as the first param
it will kick the event loop to make it process
any events you have just created for it process.
This changes locking around a bit, which is why it
wasn't lumped in with the flags commit. I've been
using something very similar in the tuning patch
without problems; but if you have problems with
any commit today, try reverting this one first.
More information about the mythtv-commits
mailing list