Skip to content
Snippets Groups Projects
Commit 243ae0fa authored by Marek Vavrusa's avatar Marek Vavrusa
Browse files

Implemented distributed locking to RRL.

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
parent ebe43300
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment