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 ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Genode-main mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/genode-main
