Multiple QRegExp crashes when multithreading in KRunner

Ingo Klöcker kloecker at kde.org
Sat Jan 15 11:28:38 GMT 2011


On Friday 14 January 2011, Thiago Macieira wrote:
> On Friday, 14 de January de 2011 21:49:01 Ingo Klöcker wrote:
> > On Friday 14 January 2011, Thiago Macieira wrote:
> > > On Friday, 14 de January de 2011 13:46:19 Sebastian Trueg wrote:
> > > > However, the query parser still uses static QRegExp objects
> > > > which seems a bad idea, isn't that right?
> > > 
> > > static QRegExp are a bad idea regardless of whether threading is
> > > involved or not.
> > 
> > Why?
> 
> Because it's static. Static non-PODs aren't a good idea.

Where static means file static, right?


Regards,
Ingo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20110115/75cea122/attachment.sig>


More information about the kde-core-devel mailing list