7
mirror of https://gitlab.com/kicad/code/kicad.git synced 2025-04-09 10:50:10 +00:00
kicad/include
Seth Hillbrand 361f61a023 Move thread pool to singleton class
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
2025-01-03 13:51:11 -08:00
..
api Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
bitmaps Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
cli Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
core Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
database Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
dialogs Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
drawing_sheet Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
font Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
gal Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
http_lib Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
io Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
kicad_curl Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
libeval Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
libeval_compiler Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
plotters Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
plugins Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
preview_items Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
project Remember open jobsets. 2025-01-02 23:44:09 +00:00
properties Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
settings Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
tool Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
view GAL: ViewGetLOD should not be able to change the VIEW 2025-01-02 22:59:31 +08:00
widgets Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
3d_enums.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
advanced_config.h Long live jobsets! 2025-01-03 13:36:48 +00:00
array_axis.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
array_options.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
asset_archive.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
background_jobs_monitor.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
base_screen.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
base_set.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
base_units.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
bin_mod.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
bitmap_base.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
bitmap_store.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
bitmaps.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
board_design_settings.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
board_item.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
board_printout.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
build_version.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
callback_gal.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
class_draw_panel_gal.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
cli_progress_reporter.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
clipboard.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
collector.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
commit.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
common.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
config_map.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
config_params.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
confirm.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
ctl_flags.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
design_block_lib_table.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
dialog_shim.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
dpi_scaling_common.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
dpi_scaling.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
dsnlexer.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
eda_base_frame.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
eda_dde.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
eda_doc.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
eda_draw_frame.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
eda_item_flags.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
eda_item.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
eda_list_dialog.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
eda_pattern_match.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
eda_search_data.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
eda_shape.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
eda_text.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
eda_tools.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
eda_units.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
embedded_files_parser.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
embedded_files.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
enum_vector.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
env_paths.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
env_vars.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
executable_names.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
file_history.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
filename_resolver.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
filter_reader.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
fmt.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
footprint_editor_settings.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
footprint_filter.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
footprint_info.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
fp_lib_table.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
frame_type.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
gal_display_options_common.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
gbr_metadata.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
gbr_netlist_metadata.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
gestfich.h Add initial but not yet working correctly copy files job 2025-01-01 23:57:46 -05:00
gr_basic.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
gr_text.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
grid_tricks.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
hash_eda.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
hashtables.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
hotkey_store.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
hotkeys_basic.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
i18n_utility.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
id.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
import_export.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
increment.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
inspectable.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
json_common.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
json_conversions.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
ki_any.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
ki_exception.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
kicommon.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
kidialog.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
kiface_base.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
kiface_ids.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
kiid.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
kiway_express.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
kiway_holder.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
kiway_mgr.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
kiway_player.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
kiway.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
launch_ext.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
layer_ids.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
layer_range.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
lib_id.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
lib_table_base.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
lib_table_grid_tricks.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
lib_table_grid.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
lib_tree_item.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
lib_tree_model_adapter.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
lib_tree_model.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
locale_io.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
lockfile.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
logging.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
lseq.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
lset.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
macros_swig.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
macros.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
mail_type.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
marker_base.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
markup_parser.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
netclass.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
newstroke_font.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
notifications_manager.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
origin_transforms.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
origin_viewitem.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
outline_mode.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
page_info.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
panel_hotkeys_editor.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
panel_text_variables.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
paths.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
pcb_base_frame.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
pcb_display_options.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
pcb_screen.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
pgm_base.h Move thread pool to singleton class 2025-01-03 13:51:11 -08:00
policy_keys.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
printout.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
progress_reporter.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
project_pcb.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
project.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
ptree.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
rc_item.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
rc_json_schema.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
refdes_utils.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
reference_image.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
render_settings.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
reporter.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
richio.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
rtti_dump.h Add rtti_dump.h to make it easier to debug cast issues across library boundaries. 2024-12-28 19:50:49 +03:00
scintilla_tricks.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
scoped_set_reset.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
search_stack.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
singleton.h Move thread pool to singleton class 2025-01-03 13:51:11 -08:00
status_popup.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
streamwrapper.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
string_any_map.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
string_utils.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
stroke_params_parser.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
stroke_params.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
systemdirsappend.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
template_fieldnames.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
textentry_tricks.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
title_block.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
trace_helpers.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
ui_events.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
undo_redo_container.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
units_provider.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
validators.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
wildcards_and_files_ext.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
wx_filename.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
wx_fstream_progress.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
wxstream_helper.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
xnode.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
zoom_defines.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00