Reader Writer Locks in .net framework

It is containing all topics related to Visual Basic, .NET Framework, Web Resource, GDI etc.
Ladva Nidhi
Posts: 295
Joined: Sat Sep 20, 2014 5:26 pm
Contact:

Reader Writer Locks in .net framework

Postby Ladva Nidhi » Thu Oct 16, 2014 2:46 am

What is Reader Writer Locks?


Guest

Re: Reader Writer Locks in .net framework

Postby Guest » Wed Jul 15, 2015 10:34 am

A readers-writer (RW) or shared-exclusive lock is a synchronization primitive that solves one of the readers-writers problems. An RW lock allows concurrent access for read-only operations, while write operations require exclusive access. This means that multiple threads can read the data in parallel but an exclusive lock is needed for writing or modifying data. When a writer is writing the data, all other writers or readers will be blocked until the writer is finished writing. A common use might be to control access to a data structure in memory that cannot be updated atomically and is invalid until the update is complete. :P


Return to “Visual Basic .NET and ASP.NET”

Who is online

Users browsing this forum: No registered users and 1 guest