What is Reader Writer Locks?

By j Miracle

here i will show you what is the use of the reader writer lock.

the use of the reader writer lock is as follow.

A reader/writer synchronization lock can and should be used to improve performance and scalability. A reader/writer lock ensures that only one thread can write to a resource at any one time and it allows multiple threads to read from a resource simultaneously as long as no thread is writing at the same time.

What is Reader Writer Locks?  (1000 Views)