It is containing all topics related to Visual Basic, .NET Framework, Web Resource, GDI etc.
1 post • Page 1 of 1
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.
Users browsing this forum: No registered users and 1 guest