[mythtv-commits] Ticket #10311: Cleanup reference counting

MythTV noreply at mythtv.org
Sun Feb 5 15:36:28 UTC 2012


#10311: Cleanup reference counting
--------------------------------------+-------------------------
     Reporter:  danielk               |      Owner:  danielk
         Type:  Bug Report - General  |     Status:  new
     Priority:  minor                 |  Milestone:  0.26
    Component:  MythTV - General      |    Version:  Unspecified
     Severity:  medium                |   Keywords:
Ticket locked:  0                     |
--------------------------------------+-------------------------
 There are some reference counters in MythTV, in particular in MythUI that
 start at 0 not 1.

 This can cause a problem mostly because programmers assume a conventional
 reference counter API.

 We can also improve the performance of our reference counters by using
 QAtomicInteger.

 After we fix the API, we must rename the reference counter functions so
 that 3rd party users of the API won't be caught out by the change without
 warning.

-- 
Ticket URL: <http://code.mythtv.org/trac/ticket/10311>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center


More information about the mythtv-commits mailing list