mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-30 01:04:36 +00:00
And more.
This commit is contained in:
parent
d3783ae359
commit
47423e6263
@ -1504,7 +1504,7 @@ private:
|
|||||||
if (this->tailBlock != nullptr && this->tailBlock->next->ConcurrentQueue::Block::is_empty()) {
|
if (this->tailBlock != nullptr && this->tailBlock->next->ConcurrentQueue::Block::is_empty()) {
|
||||||
// We can re-use the block ahead of us, it's empty!
|
// We can re-use the block ahead of us, it's empty!
|
||||||
this->tailBlock = this->tailBlock->next;
|
this->tailBlock = this->tailBlock->next;
|
||||||
this->tailBlock->ConcurrentQueue::Block::template reset_empty();
|
this->tailBlock->ConcurrentQueue::Block::reset_empty();
|
||||||
|
|
||||||
// We'll put the block on the block index (guaranteed to be room since we're conceptually removing the
|
// We'll put the block on the block index (guaranteed to be room since we're conceptually removing the
|
||||||
// last block from it first -- except instead of removing then adding, we can just overwrite).
|
// last block from it first -- except instead of removing then adding, we can just overwrite).
|
||||||
|
Loading…
Reference in New Issue
Block a user