Re: you are my only friend
- From: John Cupitt <john cupitt ng-london org uk>
- To: Monserrat Seisdedos Nuñez <mseisdedos cirsa com>
- Cc: "gtk (E-mail)" <gtk-list gnome org>
- Subject: Re: you are my only friend
- Date: Mon, 26 Feb 2001 13:46:50 +0000
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]