[mythtv-firehose] mythtv/mythtv-rec2 commit: 8bcdd04fd by Daniel Kristjansson (daniel-kristjansson)
noreply at mythtv.org
Tue May 3 01:07:32 UTC 2011
Author: Daniel Kristjansson <danielk at cuymedia.net>
Change Date: 2011-05-02T08:38:42-07:00
Push Date: 2011/05/02 18:07:29 -0700
New Revision: 8bcdd04fd6d773f788630ec8968d4f6019d5e06a
Rework of [07dd9d], convert Linux Firewire recorder's pthread to QThread.
The most important change here is to release m_lock before waiting on the thread to exit, without this we will deadlock. Other changes were to properly wait for the thread to start, which just makes an unlikely race condition impossible. Finally, a usleep has been converted to a wait condition sleep so that shutdown can be initiated a little more quickly if we're sleeping when a shutdown is requested (a 50 ms speedup best case; 25 ms average).
More information about the mythtv-firehose