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