[mythtv-commits] Ticket #7238: Unsafe std::list access & O(n^2) algo where O(n) possible in [22239]
MythTV
mythtv at cvs.mythtv.org
Mon Oct 5 16:34:02 UTC 2009
#7238: Unsafe std::list access & O(n^2) algo where O(n) possible in [22239]
------------------------------+---------------------------------------------
Reporter: danielk | Owner: cpinkham
Type: patch | Status: closed
Priority: minor | Milestone: 0.22
Component: MythTV - General | Version: head
Severity: high | Resolution: fixed
Mlocked: 0 |
------------------------------+---------------------------------------------
Changes (by danielk):
* status: new => closed
* resolution: => fixed
Comment:
(In [22255]) Fixes #7238. Make sure we hold the lock for the linked list
before using it & do not use size() which can be slow on linked lists.
--
Ticket URL: <http://svn.mythtv.org/trac/ticket/7238#comment:3>
MythTV <http://www.mythtv.org/>
MythTV
More information about the mythtv-commits
mailing list