MCPcopy Create free account
hub / github.com/Snapchat/KeyDB / MOODYCAMEL_CATCH

Method MOODYCAMEL_CATCH

deps/concurrentqueue/concurrentqueue.h:2509–2514  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2507 new ((*newBlock)[currentTailIndex]) T(std::forward<U>(element));
2508 }
2509 MOODYCAMEL_CATCH (...) {
2510 rewind_block_index_tail();
2511 idxEntry->value.store(nullptr, std::memory_order_relaxed);
2512 this->parent->add_block_to_free_list(newBlock);
2513 MOODYCAMEL_RETHROW;
2514 }
2515 }
2516
2517 // Insert the new block into the index

Callers

nothing calls this directly

Calls 1

rewind_block_index_tailFunction · 0.85

Tested by

no test coverage detected