[mythtv-commits] Ticket #5311: Write QString replacement

MythTV mythtv at cvs.mythtv.org
Sat Dec 6 20:27:54 UTC 2008


#5311: Write QString replacement
---------------------+------------------------------------------------------
 Reporter:  danielk  |        Owner:  danielk
     Type:  task     |       Status:  closed 
 Priority:  blocker  |    Milestone:  0.22   
Component:  mythtv   |      Version:  head   
 Severity:  medium   |   Resolution:  invalid
  Mlocked:  0        |  
---------------------+------------------------------------------------------
Changes (by danielk):

  * status:  assigned => closed
  * resolution:  => invalid


Comment:

 After converting a large number of files to Qt4, I don't think we need to
 introduce a new thread safe string class anymore. Assignments in Qt4 are
 really atomic and the very unsafe ascii()/utf8()/latin1()/local8Bit()
 functions were causing most of the remaining segfaults (and are now
 removed from the class). The remaining bugs are specific to certain
 classes used by multiple threads using QStrings without a mutex protecting
 them (ChannelBase for instance). Those errors should be addressed on a
 case by case basis as those classes will probably unsafely use any number
 of other variables, not just strings.

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/5311#comment:10>
MythTV <http://www.mythtv.org/>
MythTV


More information about the mythtv-commits mailing list