Re: Are g_slist "types" thread-safe?

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

 



On Thu, 2005-10-06 at 16:59 -0500, Bryan Christ wrote:
> In other words, if two or more threads need to append to the same list, 
> do I need to wrap the critical areas in mutex or semaphore or do g_slist 
> have their own internal lock?
> 

Yes, for concurrent access to the *same* GLib data structure, the
application is responsible for suitable locking. 

Matthias

_______________________________________________

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