Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
menu search
person
Welcome To Ask or Share your Answers For Others

Categories

I want a first-in-first-out circular queue. Is there a library available?

My application has a buffer, one thread writes data inward and the other thread reads data. The speed of the read thread and the write thread are inconsistent, so I can't ask that the buffer must be read before writing, so ByteBuffer may not meet my requirements.

Because of frequent reading and writing, is there a simple way for ByteBuffer to meet this demand


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
652 views
Welcome To Ask or Share your Answers For Others

1 Answer

等待大神答复

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
...