[mythtv-commits] mythtv commit: r11452 - in branches/multiuser/mythtv by danielk

mythtv at cvs.mythtv.org mythtv at cvs.mythtv.org
Thu Oct 5 20:19:15 UTC 2006


      Author: danielk
        Date: 2006-10-05 20:19:15 +0000 (Thu, 05 Oct 2006)
New Revision: 11452
   Changeset: http://cvs.mythtv.org/trac/changeset/11452

Modified:

   branches/multiuser/mythtv/libs/libmyth/account.cpp
   branches/multiuser/mythtv/libs/libmyth/account.h
   branches/multiuser/mythtv/libs/libmyth/accounts.cpp
   branches/multiuser/mythtv/libs/libmyth/accounts.h
   branches/multiuser/mythtv/libs/libmyth/mythcontext.cpp
   branches/multiuser/mythtv/programs/mythbackend/mainserver.cpp

Log:

Refs #2532. Cleanup of accounts.{cpp,h}, and its reverb through other classes.

In its current state we reload the accounts from the DB everytime we use this class and we don't do anything to ensure consistency between different frontends (or even within a single frontend). This moves all the unsafe functions into accounts, but doesn't yet make them threadsafe, once it is threadasafe we can turn this into a singleton class which will make it easier to ensure DB consistency.






More information about the mythtv-commits mailing list