Frage im Vorstellungsgespräch bei Elastic

What is a ReadWriteLock?

Antwort im Vorstellungsgespräch

Anonym

21. Juli 2017

It's a special lock that allows either to have many threads accessing it in read mode or one thread in write mode. Especially if the underlying guarded data structure is meant to be accessed for reading operations much more often, this lock makes sense.

1