Monserrat Seisdedos Nuñez wrote:
> And i am acceding to a shared memory zone. In solaris there is a library
> that includes some functions such as mutex_init, mutex_enter....., they are
> really easy to use.
> 
> In linux i'm using semaphores, and although they are working well, the use
> is more complex.
> 
> I'm looking for a mechanism for doing it simpler. 

Hi, glib has a portable set of mutex/thread/cond-var functions. You can
implement semaphores on top very easily:

        http://developer.gnome.org/doc/API/2.0/glib/glib-threads.html

HTH, John

_______________________________________________
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list

Reply via email to