Introduction - If you have any usage issues, please Google them yourself
(A) any number of reading processes can simultaneously read the file (2) allows only one process to write the file to write (3) If a write process is written to the file, process or prohibit any read access to the file write process (4) writing process to perform a write operation, you should let the writers or readers have all quit. This shows that when a reader when reading the file does not allow writers to write files.