What steps will reproduce the problem?
1. create a queue
2. set the maxqueue a little small, say: 10
3. just enqueue msgs, never dequeue, the 11st msg will overlap the 1st msg
Please provide any additional information below.
原因在于第303行判断队列已满时遗漏一种情况: (0 ==
queue_get_value && queue_put_value > maxqueue_num)。