Re: Is GLIB thread safe?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, 26 Oct 2008 00:25:24 +0800
"Peter Cai" <newptcai@xxxxxxxxx> wrote:
[snip]
> But I got one problem.  Is GLIB thread safe?

It depends on what you mean by "thread safe".  Apart from the
container types that glib provides, glib is thread safe, including its
main loop and (since version 2.8.0) its reference counting.  The
individual container types that glib provides (lists, queues - except
GAsyncQueue - hash-tables and the like) are not thread safe, nor are the
data that the containers reference (the latter obviously depends on the
contained types themselves).

Chris

_______________________________________________
gtk-list mailing list
gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux