• Marek Vavrusa's avatar
    Implemented distributed locking to RRL. · 243ae0fa
    Marek Vavrusa authored
    RRL could be updated from any answering thread
    and due to the natural collisions, even one bucket.
    As every query also updates the bucket, it would be inefficient
    to sync all threads using RCU. For this reason N muteces
    are allocated and appropriate mutex is calculated from the
    id of the bucket (currently last digit).
    
    refs #2136
    243ae0fa