mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-09-14 02:03:12 +02:00
Having thread pool as its own singleton in the library meant that each kiface had its own threadpool, leading to many multiples of the threads being started. Placing a singleton class in PGM_BASE ensures that all kifaces use the same thread pool. The singleton class can be extended to provide single instance guarantee for any element across kifaces
This library contains base non-EDA items and extensions to libraries that are used throughout the KiCad codebase. This library should never depend on any parts of the KiCad code outside the thirdparty directory, since this is meant to be the lowest-level library in the dependency chain.