Multiple QRegExp crashes when multithreading in KRunner
Thiago Macieira
thiago at kde.org
Fri Jan 14 22:45:00 GMT 2011
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.
--
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
Senior Product Manager - Nokia, Qt Development Frameworks
PGP/GPG: 0x6EF45358; fingerprint:
E067 918B B660 DBD1 105C 966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20110114/d4c231fd/attachment.sig>
More information about the kde-core-devel
mailing list