KiCad PCB EDA Suite
Loading...
Searching...
No Matches
thread_pool.cpp File Reference
#include <core/thread_pool.h>

Go to the source code of this file.

Functions

thread_poolGetKiCadThreadPool ()
 Get a reference to the current thread pool.
 

Variables

static thread_pooltp = nullptr
 

Function Documentation

◆ GetKiCadThreadPool()

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

Returns
Reference to the current (potentially newly constructed) thread pool

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(), PCB_EDIT_FRAME::GenIPC2581File(), PCB_EDIT_FRAME::GenODBPPFiles(), 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().

Variable Documentation

◆ tp