vpetrigo/caches

Uncomplicated multithreaded design?

Closed this issue · 2 comments

@vpetrigo Thanks a lot for releasing a truly useful library for many applications! Currently, there is no multithreading support in your code. How would you recommend to add basic thread coherency into your implementation?

Hello @dmikushin,

Probably I am not quite understand what kind of support you are looking for. As of now the fixed_sized_cache class has lock guard for every operation, e.g. Put method:

operation_guard lock{safe_op};

Would you tell whether that is not enough for you application?

Close issue for now, since no details were provided. Feel free to re-open! Would be happy to discuss and provide more details.