[okl4-developer] nb - Iguana's Mutex
Adam 'WeirdArms' Wiggins
awiggins at ok-labs.com
Fri Apr 25 19:46:55 EST 2008
On 25/04/2008, at 6:54 PM, Antonin SUBTIL wrote:
> Hello again
>
> My question might be stupid, but : okl4_mutex_allocate() and
> _deallocate(), do they
> • create/uncreate mutexes AND lock/unlok,
> • or just create/uncreate mutexes.
They simply create/destroy kernel mutex objects. Which can then be
locked/unlocked kernel L4_mutex() system call. This is all wrapped by
the Mutex Library, if you want to use kernel mutex objects specify
mutex_type=kernel on the build line which configures the Mutex library
to do this.
Have a look in libs/mutex for details.
Cheers, Adam
> (I'm thinking it"s the 2nd one, as deep as I've been in Iguana code,
> then is there some special stuff existing to lock unlock, as using a
> low level L4_mutex function would be ugly in the "pretty" iguana
> high level fct...)
>
> thanks
>
> --
> Antonin Subtil,
> 35 rue Donissan
> FR-33000 Bordeaux
> +33 (0)6.77.40.17.69
>
> Economisez du papier, limitez votre production de déchets :
> n'imprimez ce message que si nécessaire (et... en recto-verso) !
> _______________________________________________
> Developer mailing list
> Developer at okl4.org
> https://lists.okl4.org/mailman/listinfo/developer
More information about the Developer
mailing list