Re: Is GObject threadsafe?!

2007-07-04 Thread Chris Vine
On Wed, 2007-07-04 at 23:08 +0200, Tomasz Jankowski wrote: > Ok, so I can mix object implementation with GStaticRWLock and make > something like this: > > static void > socket_set_property (GObject *object, guint prop_id, const GValue > *value, GParamSpec *pspec) > { > g_return_if_fail (IS_SOC

Re: Is GObject threadsafe?!

2007-07-04 Thread Chris Vine
On Wed, 2007-07-04 at 21:02 +0100, [EMAIL PROTECTED] wrote: > On 7/4/07, Tomasz Jankowski <[EMAIL PROTECTED]> wrote: > > thread safe. It's very important to me, to know if I can safety use > > g_object_set and g_object_get from many threads without providing my own > > thread protection. I found so

Re: Is GObject threadsafe?!

2007-07-04 Thread jcupitt
On 7/4/07, Tomasz Jankowski <[EMAIL PROTECTED]> wrote: > thread safe. It's very important to me, to know if I can safety use > g_object_set and g_object_get from many threads without providing my own > thread protection. I found something on web but it wasn't clear for me. If thread A and thread B

Re: glib/gobject tutorials

2007-07-04 Thread Lucas Stephanou
This is amazing tutorial, very complete thx so much :-) On 7/4/07, Arx Cruz <[EMAIL PROTECTED]> wrote: > > http://le-hacker.org/papers/gobject/ > > Great tutorial! > > On 7/4/07, Lucas Stephanou < [EMAIL PROTECTED]> wrote: > > > Hi All , > > > > I'm looking for tutorials about gobject, specially

Re: glib/gobject tutorials

2007-07-04 Thread Arx Cruz
http://le-hacker.org/papers/gobject/ Great tutorial! On 7/4/07, Lucas Stephanou <[EMAIL PROTECTED]> wrote: > > Hi All , > > I'm looking for tutorials about gobject, specially signals handlers, > The Gnome Docs is just a api doc, without examples or ways to code > correct! > That api, to me is fo

glib/gobject tutorials

2007-07-04 Thread Lucas Stephanou
Hi All , I'm looking for tutorials about gobject, specially signals handlers, The Gnome Docs is just a api doc, without examples or ways to code correct! That api, to me is for experienced developers :-) Thx in advance -- Lucas Stephanou ___ gtk-app-

Is GObject threadsafe?!

2007-07-04 Thread Tomasz Jankowski
Hello again! Maybe you will ban me on this mailing list for sending many mails about similar topic - I'm desperate ;P I only want to know, if GObject system is thread safe. It's very important to me, to know if I can safety use g_object_set and g_object_get from many threads without providing my o