Skip to content

[SPSCQueue] limit the idx value#5

Open
Virviglaz wants to merge 1 commit intoMengRao:masterfrom
Virviglaz:bugfix_limit_the_queue_size
Open

[SPSCQueue] limit the idx value#5
Virviglaz wants to merge 1 commit intoMengRao:masterfrom
Virviglaz:bugfix_limit_the_queue_size

Conversation

@Virviglaz
Copy link

When the reader/writed index pointer is increased, limit the value to
the maximum queue size making a queue circular.

Signed-off-by: Pavel Nadein pavel.nadein@cpp.canon

When the reader/writed index pointer is increased, limit the value to
the maximum queue size making a queue circular.

Signed-off-by: Pavel Nadein <pavel.nadein@cpp.canon>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant