Introduction - If you have any usage issues, please Google them yourself
Readers- read and write operations to write the problem of constraints (including the readers of priority and writing preferred)
Write- write mutually exclusive: You can not have two writers write the same time
Read- Write mutually exclusive: You can not simultaneously reading a thread while another thread is writing.
Reading- Reading allowed: You can have one or more readers to read.