[genode] [feature request] Lock and RW lock function for Genode Thread support.
Sebastian Sumpf
Sebastian.Sumpf at ...1...
Tue Aug 7 10:40:11 CEST 2012
Hello Eunseok Kim,
On 08/06/2012 01:09 PM, 김은석 wrote:
>
> Dear ...
>
> We wana change to Genode thread from pthread of Fawn Source.
> But, we have some problem how to convergen lock and RW lock of Pthread.
> Could you tell me which lock function is appropriate to use for lock
> and RW lock in the Genode Thread?
>
>
In addition to Norman's suggestions, there is a simple RW lock
implementation in 'os/src/lib/ldso/lock.cc', which uses two Genode
locks. As Norman mentioned this approach might not scale as well, but it
might serve as a reference or starting point.
Regards,
Sebastian
--
Sebastian Sumpf Genode Labs http://www.genode-labs.com ·
http://genode.org Genode Labs GmbH · Amtsgericht Dresden · HRB 28424 ·
Sitz Dresden Geschäftsführer: Dr.-Ing. Norman Feske, Christian Helmuth
More information about the users
mailing list