[mythtv-firehose] mythtv/devel/mythtv-rec2 commit: fd7a07775 by Daniel Kristjansson (daniel-kristjansson)

MythTV noreply at mythtv.org
Tue Apr 10 07:43:01 UTC 2012


      Author:  Daniel Kristjansson <danielk at cuymedia.net>
 Change Date:  2011-03-27T12:20:46-07:00
   Push Date:  2012/04/10 00:41:52 -0700
  Repository:  mythtv
      Branch:  devel/mythtv-rec2
New Revision:  fd7a077752725516d31a2b8db2ec9bee223273f9
   Changeset:  https://github.com/MythTV/mythtv/commit/fd7a07775

Log:

Threading cleanup in MainServer. See also [64d51365568348b91e307cab39b6ef73f8c23be6].

There were a couple problems here, first the threads were converted from detached to attached but no provision was made to join the threads. The other problem was that at some point before the port we started queueing deletes but again made no provision for actually deleting files if someone decided to shut down the backend before the possibly long list of deletes was processed (we sleep for some time before processing each delete.)

Modified:

   mythtv/programs/mythbackend/mainserver.cpp
   mythtv/programs/mythbackend/mainserver.h



More information about the mythtv-firehose mailing list