Re: read-write locks, throttling

2017-01-06 Thread Torvald Riegel
On Fri, 2017-01-06 at 14:17 +0100, Bruno Haible wrote: > I asked: > > > So, what is the fairness-ensuring mechanism that will make use of locks > > > starvation-free? Can it be *easily* and *portably* put in place? > > Textbooks from university teacher state that alternating between reader > prefe

Re: read-write locks, throttling

2017-01-06 Thread Bruno Haible
I asked: > > So, what is the fairness-ensuring mechanism that will make use of locks > > starvation-free? Can it be *easily* and *portably* put in place? Textbooks from university teacher state that alternating between reader preference and writer preference with solve both writer starvation and w