reader or writer

In computer science, the readers–writers problems are examples of a common computing problem in concurrency. There are at least three variations of the problems, which deal with situations in which many concurrent threads of execution try to access the same shared resource at one time.
Some threads may read and some may write, with the constraint that no thread may access the shared resource for either reading or writing while another thread is in the act of writing to it. (In particular, we want to prevent more than one thread modifying the shared resource simultaneously and allow for two or more readers to access the shared resource at the same time). A readers–writer lock is a data structure that solves one or more of the readers–writers problems.
The basic reader–writers problem was first formulated and solved by Courtois et al.

View More On Wikipedia.org
  • 1

    huttnn

    Junior Member
    • Posts
      61
    • Likes
      16
    • Points
      0
  • 1

    Bikkato

    • Posts
      626
    • Likes
      202
    • Points
      0
  • Back
    Top