Am Samstag 15 Januar 2011, 15:08:28 schrieb Thiago Macieira:
> On Saturday, 15 de January de 2011 12:28:38 Ingo Klöcker wrote:
> > 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
Am Samstag 15 Januar 2011, 15:08:28 schrieb Thiago Macieira:
> On Saturday, 15 de January de 2011 12:28:38 Ingo Klöcker wrote:
> > 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
On Thu, Jan 13, 2011 at 5:02 PM, Thiago Macieira wrote:
> On Thursday, 13 de January de 2011 22:43:28 Matthias Fuchs wrote:
>> Hi,
>>
>> There are some crashes related to QRegExp and multithreading, so they appear
>> when using KRunner.
>
> Make sure you operate on a QRegExp object that isn't in u
On Saturday, 15 de January de 2011 12:28:38 Ingo Klöcker wrote:
> 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 T
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
On Friday, 14 de January de 2011 20:28:04 Andreas Pakulat wrote:
> On 14.01.11 17:51:56, Albert Astals Cid wrote:
> > A Divendres, 14 de gener de 2011, Sebastian Trueg va escriure:
> > > However, the query parser still uses static QRegExp objects which
> > > seems
> > > a bad idea, isn't that right
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?
>
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
>
On 14.01.11 17:51:56, Albert Astals Cid wrote:
> A Divendres, 14 de gener de 2011, Sebastian Trueg va escriure:
> > However, the query parser still uses static QRegExp objects which seems
> > a bad idea, isn't that right?
> > Thus, I suppose it would be better to wrap them in a mutex'ed object and
A Divendres, 14 de gener de 2011, Sebastian Trueg va escriure:
> However, the query parser still uses static QRegExp objects which seems
> a bad idea, isn't that right?
> Thus, I suppose it would be better to wrap them in a mutex'ed object and
> create that via K_GLOBAL_STATIC?
Why would you want
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.
> Thus, I suppose it would be better to wra
However, the query parser still uses static QRegExp objects which seems
a bad idea, isn't that right?
Thus, I suppose it would be better to wrap them in a mutex'ed object and
create that via K_GLOBAL_STATIC?
Cheers,
Sebastian
On 01/14/2011 01:17 AM, Thiago Macieira wrote:
> On Thursday, 13 de Jan
Am Freitag 14 Januar 2011, 01:16:07 schrieb Thiago Macieira:
> On Thursday, 13 de January de 2011 15:08:06 Aaron J. Seigo wrote:
> > On Thursday, January 13, 2011, Thiago Macieira wrote:
> > > On Thursday, 13 de January de 2011 22:43:28 Matthias Fuchs wrote:
> > > > Hi,
> > > >
> > > > There are s
On Thursday, January 13, 2011, Thiago Macieira wrote:
> Nah.
>
> Just create a copy on the stack:
easy enough, indeed. committed and backported; thanks to both you and Matthias
for your efforts on this.
--
Aaron J. Seigo
humru othro a kohnu se
GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA EE75 D6
On Thursday, 13 de January de 2011 23:33:14 Milian Wolff wrote:
> Matthias Fuchs, 13.01.2011:
> > Hi,
> >
> > There are some crashes related to QRegExp and multithreading, so they
> > appear when using KRunner.
>
> QRegExp is not threadsafe, you either have to guard it with a mutex or make
> sure
On Thursday, 13 de January de 2011 15:08:06 Aaron J. Seigo wrote:
> On Thursday, January 13, 2011, Thiago Macieira wrote:
> > On Thursday, 13 de January de 2011 22:43:28 Matthias Fuchs wrote:
> > > Hi,
> > >
> > > There are some crashes related to QRegExp and multithreading, so
> > > they
> > > ap
On Thursday, January 13, 2011, Thiago Macieira wrote:
> On Thursday, 13 de January de 2011 22:43:28 Matthias Fuchs wrote:
> > Hi,
> >
> > There are some crashes related to QRegExp and multithreading, so they
> > appear when using KRunner.
>
> There should be no crashes related to QRegExp and thre
On Thursday, 13 de January de 2011 22:43:28 Matthias Fuchs wrote:
> Hi,
>
> There are some crashes related to QRegExp and multithreading, so they appear
> when using KRunner.
There should be no crashes related to QRegExp and threading since Qt 4.4. If
you find something, it's usually because you
Matthias Fuchs, 13.01.2011:
> Hi,
>
> There are some crashes related to QRegExp and multithreading, so they
> appear when using KRunner.
QRegExp is not threadsafe, you either have to guard it with a mutex or make
sure it's not shared between threads.
Bye
--
Milian Wolff
m...@milianw.de
http://
Hi,
There are some crashes related to QRegExp and multithreading, so they appear
when using KRunner.
One happens in Nepomuk::Query::QueryParser::parse, a static method that uses
globally defined QRegExps. [1]
Now I wonder what the best solution is for this specific problem.
Last week I discuss
20 matches
Mail list logo