mirror of
https://github.com/skyline-emu/skyline.git
synced 2024-12-27 22:01:51 +01:00
Add note about circular queue append contiguosity guarantees
This commit is contained in:
parent
535eafb57a
commit
6b9be2edd4
@ -119,6 +119,9 @@ namespace skyline {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @note The appended elements may not necessarily be directly contiguous as another thread could push elements in between those in the span
|
||||||
|
*/
|
||||||
void Append(span<Type> buffer) {
|
void Append(span<Type> buffer) {
|
||||||
for (const auto &item : buffer)
|
for (const auto &item : buffer)
|
||||||
Push(item);
|
Push(item);
|
||||||
|
Loading…
Reference in New Issue
Block a user