Hello,
Thank you very much.
I actually commented out pretty much everything but the G_IS_OBJECT().
I took it granted that GRegex was a gobject.
Now learned that it's a POD, Perl Object.
The actual code has also a LockedCounter (mutex controlled) object
that feeds each thread with a unique sequence
On Wed, May 30, 2012 at 08:30:40PM +0100, Osmo Antero wrote:
> I have a multi-threaded application that filters data practically
> while user types text in an entry-field. But this applications
> regularly crashes.
GRegex is not a GObject, it's just POD. So
if (G_IS_OBJECT(search->regex))
w
Oh, I forgot to mension.
Compile and start the test2 app and then press the "Test..." button at the top.
It will fire 10 threads. Each of them creates own a GRegex object.
Then the crash.
// Osmo Antero
___
gtk-app-devel-list mailing list
gtk-app-devel-
Hello,
I have a multi-threaded application that filters data practically
while user types text in an entry-field. But this applications
regularly crashes. This surprises me because I have done similar code
in another occacion and language. This particular Gtk code is from an
open source app. So
Wo
Maybe I've just been up too late and am not thinking straight, but I
suppose it doesn't hurt to ask... is there some way to use the Glib
testing framework so as to have modular fixtures that could be combined
or separated on a per-test basis? I'm staring at the API, but not seeing it.
What I mean