MCPcopy Create free account
hub / github.com/cameron314/concurrentqueue / MOODYCAMEL_CATCH

Method MOODYCAMEL_CATCH

concurrentqueue.h:2546–2551  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2544 new ((*newBlock)[currentTailIndex]) T(std::forward<U>(element));
2545 }
2546 MOODYCAMEL_CATCH (...) {
2547 rewind_block_index_tail();
2548 idxEntry->value.store(nullptr, std::memory_order_relaxed);
2549 this->parent->add_block_to_free_list(newBlock);
2550 MOODYCAMEL_RETHROW;
2551 }
2552 }
2553
2554 // Insert the new block into the index

Callers

nothing calls this directly

Calls 2

rewind_block_index_tailFunction · 0.85
storeMethod · 0.45

Tested by

no test coverage detected