KiCad PCB EDA Suite
Loading...
Searching...
No Matches
thread_pool.h File Reference
#include <bs_thread_pool.hpp>

Go to the source code of this file.

Macros

#define INCLUDE_THREAD_POOL_H_
 

Typedefs

using thread_pool = BS::thread_pool
 

Functions

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

Macro Definition Documentation

◆ INCLUDE_THREAD_POOL_H_

#define INCLUDE_THREAD_POOL_H_

Definition at line 26 of file thread_pool.h.

Typedef Documentation

◆ thread_pool

using thread_pool = BS::thread_pool

Definition at line 30 of file thread_pool.h.

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().