MCPcopy Create free account
hub / github.com/cameron314/concurrentqueue / ~filter

Method ~filter

benchmarks/tbb/pipeline.cpp:688–697  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

686}
687
688filter::~filter() {
689 if ( (my_filter_mode & version_mask) >= __TBB_PIPELINE_VERSION(3) ) {
690 if ( next_filter_in_pipeline != filter::not_in_pipeline() )
691 my_pipeline->remove_filter(*this);
692 else
693 __TBB_ASSERT( prev_filter_in_pipeline == filter::not_in_pipeline(), "probably filter list is broken" );
694 } else {
695 __TBB_ASSERT( next_filter_in_pipeline==filter::not_in_pipeline(), "cannot destroy filter that is part of pipeline" );
696 }
697}
698
699void
700filter::set_end_of_input() {

Callers

nothing calls this directly

Calls 1

remove_filterMethod · 0.80

Tested by

no test coverage detected