Walter is right about transitive readonly - here's the alternative
Sean Kelly
sean at f4.ca
Thu Sep 13 09:11:38 PDT 2007
Regan Heath wrote:
>
> Does it 'break' the system to allow a thread with a read lock to aquire
> a write lock (assuming we block until no other thread has a read lock)?
Some read-write locks allow a read lock to be 'upgraded' to a write
lock, but I never liked the idea. For one, it complicates the algorithm
quite a bit.
Sean
More information about the Digitalmars-d
mailing list