KiCad PCB EDA Suite
|
#include <core/thread_pool.h>
Go to the source code of this file.
Functions | |
thread_pool & | GetKiCadThreadPool () |
Get a reference to the current thread pool. | |
Variables | |
static thread_pool * | tp = nullptr |
thread_pool & GetKiCadThreadPool | ( | ) |
Get a reference to the current thread pool.
N.B., you cannot copy the thread pool so if you accidentally write thread_pool tp = GetKiCadThreadPool(), you will break your compilation
Definition at line 32 of file thread_pool.cpp.
References tp.
Referenced by CN_CONNECTIVITY_ALGO::Build(), CONNECTION_GRAPH::buildConnectionGraph(), BOARD::CacheTriangulation(), UPDATE_MANAGER::CheckForUpdate(), CONNECTIVITY_DATA::ComputeLocalRatsnest(), ZONE_FILLER::Fill(), DIALOG_EXPORT_ODBPP::GenerateODBPPFiles(), PCB_EDIT_FRAME::GenIPC2581File(), DESIGN_BLOCK_LIST_IMPL::loadDesignBlocks(), FOOTPRINT_LIST_IMPL::loadFootprints(), DESIGN_BLOCK_LIST_IMPL::loadLibs(), FOOTPRINT_LIST_IMPL::loadLibs(), SPICE_LIBRARY_PARSER::ReadFile(), RENDER_3D_RAYTRACE_BASE::renderTracing(), CONNECTION_GRAPH::resolveAllDrivers(), DRC_CACHE_GENERATOR::Run(), DRC_TEST_PROVIDER_CONNECTION_WIDTH::Run(), DRC_TEST_PROVIDER_DISALLOW::Run(), DRC_TEST_PROVIDER_SLIVER_CHECKER::Run(), DRC_TEST_PROVIDER_TRACK_ANGLE::Run(), DRC_TEST_PROVIDER_TRACK_SEGMENT_LENGTH::Run(), DRC_TEST_PROVIDER_ZONE_CONNECTIONS::Run(), CN_CONNECTIVITY_ALGO::searchConnections(), DRC_TEST_PROVIDER_COPPER_CLEARANCE::testGraphicClearances(), DRC_TEST_PROVIDER_COPPER_CLEARANCE::testPadClearances(), DRC_TEST_PROVIDER_COPPER_CLEARANCE::testTrackClearances(), DRC_TEST_PROVIDER_COPPER_CLEARANCE::testZonesToZones(), CONNECTION_GRAPH::updateItemConnectivity(), and CONNECTIVITY_DATA::updateRatsnest().
|
static |
Definition at line 30 of file thread_pool.cpp.
Referenced by CN_CONNECTIVITY_ALGO::Build(), CONNECTION_GRAPH::buildConnectionGraph(), BOARD::CacheTriangulation(), UPDATE_MANAGER::CheckForUpdate(), CONNECTIVITY_DATA::ComputeLocalRatsnest(), ZONE_FILLER::Fill(), DIALOG_EXPORT_ODBPP::GenerateODBPPFiles(), PCB_EDIT_FRAME::GenIPC2581File(), GetKiCadThreadPool(), DESIGN_BLOCK_LIST_IMPL::loadDesignBlocks(), FOOTPRINT_LIST_IMPL::loadFootprints(), DESIGN_BLOCK_LIST_IMPL::loadLibs(), FOOTPRINT_LIST_IMPL::loadLibs(), mpScaleXBase::Plot(), mpScaleY::Plot(), SPICE_LIBRARY_PARSER::ReadFile(), RENDER_3D_RAYTRACE_BASE::renderTracing(), CONNECTION_GRAPH::resolveAllDrivers(), DRC_CACHE_GENERATOR::Run(), DRC_TEST_PROVIDER_CONNECTION_WIDTH::Run(), DRC_TEST_PROVIDER_DISALLOW::Run(), DRC_TEST_PROVIDER_SLIVER_CHECKER::Run(), DRC_TEST_PROVIDER_TRACK_ANGLE::Run(), DRC_TEST_PROVIDER_TRACK_SEGMENT_LENGTH::Run(), DRC_TEST_PROVIDER_ZONE_CONNECTIONS::Run(), CN_CONNECTIVITY_ALGO::searchConnections(), DRC_TEST_PROVIDER_COPPER_CLEARANCE::testGraphicClearances(), DRC_TEST_PROVIDER_COPPER_CLEARANCE::testPadClearances(), DRC_TEST_PROVIDER_COPPER_CLEARANCE::testTrackClearances(), DRC_TEST_PROVIDER_COPPER_CLEARANCE::testZonesToZones(), CONNECTION_GRAPH::updateItemConnectivity(), and CONNECTIVITY_DATA::updateRatsnest().