Introduction - If you have any usage issues, please Google them yourself
The principle of the ring buffer, in the communication process, often use ring buffers to store the data as a data structure to send and receive communications. FIFO ring buffer is a circular buffer that can provide exclusive access to the buffer to the communication program