Closed leotilli closed 9 years ago
I've been passing true to reentrant locks, in order to prevent starvation scenarios; in my mind it seemed more important than the performance hit. We could change locks fairness to false.
Removed fairness from locks.
In general when using reentrant locks, passing
true
for the fairness parameter has a performance cost. Unless there's an explicit need for lock behavior to be ordered I'd say we should passfalse
for this.