homework_5 Version 0 |
|
👤 Author: by 1370136004qqcom 2017-11-07 03:50:31 |
The database may be shared among several readers and writers, the readers and writers are concurrent processes. The readers can access the database at the same time, and it won’t affect the result if the access sequence is different. However, when a writer and other thread (R/W) access the same database simultaneously, chaos may ensure. The synchronization problem is referred as the reader and writer problem.
The readers-writers problem has several variations, all involve prioritie