MCPcopy Create free account
hub / github.com/NGSolve/ngsolve / destroy

Function destroy

ngscuda/concurrentqueue.h:3642–3647  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3640
3641 template<typename U>
3642 static inline void destroy(U* p)
3643 {
3644 if (p != nullptr)
3645 p->~U();
3646 aligned_free<U>(p);
3647 }
3648
3649private:
3650 std::atomic<ProducerBase*> producerListTail;

Callers 2

~ConcurrentQueueMethod · 0.85
add_block_to_free_listFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected