Hi again Osmo,
On 31 May 2012 17:50, Osmo Antero osm...@gmail.com wrote:
Jcupitt:
Ok, g_idle_add() seems to need protection by gdk_threads_enter() and
leave().
Ref:
http://developer.gnome.org/gdk/stable/gdk-Threads.html#gdk-threads-add-idle
That's out of date. g_idle_add() does not need any
On Fri, 1 Jun 2012 09:23:35 +0100
jcup...@gmail.com wrote:
Hi again Osmo,
On 31 May 2012 17:50, Osmo Antero osm...@gmail.com wrote:
Jcupitt:
Ok, g_idle_add() seems to need protection by gdk_threads_enter() and
leave().
Ref:
On 1 June 2012 20:41, Chris Vine ch...@cvine.freeserve.co.uk wrote:
jcup...@gmail.com wrote:
That's out of date. g_idle_add() does not need any locking by you.
I think you may be confusing this with the fact that with glib = 2.32
it is no longer necessary to call g_thread_init() to make glib
On Fri, 1 Jun 2012 22:00:35 +0100
jcup...@gmail.com wrote:
On 1 June 2012 20:41, Chris Vine ch...@cvine.freeserve.co.uk wrote:
jcup...@gmail.com wrote:
That's out of date. g_idle_add() does not need any locking by you.
I think you may be confusing this with the fact that with glib =
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
On 31 May 2012 07:11, Osmo Antero osm...@gmail.com wrote:
The actual code has also a LockedCounter (mutex controlled) object
that feeds each thread with a unique sequence number. Only the thread
with highest sequence number can tick and change the GUI, others will
simply die away.
I expect
On Thu, May 31, 2012 at 07:11:10AM +0100, Osmo Antero wrote:
Now learned that it's a POD, Perl Object.
I meant Plain Old Data, but of course in C. Nothing in GLib (as opposed
to GObject and GIO) is an GObject.
Yeti
___
gtk-app-devel-list mailing
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
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
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))
will
10 matches
Mail list logo