7
mirror of https://gitlab.com/kicad/code/kicad.git synced 2025-04-12 22:09:40 +00:00
kicad/pcbnew
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
autorouter Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
board_stackup_manager Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
connectivity Move thread pool to singleton class 2025-01-03 13:51:11 -08:00
dialogs Move thread pool to singleton class 2025-01-03 13:51:11 -08:00
drc Move thread pool to singleton class 2025-01-03 13:51:11 -08:00
exporters Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
generators Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
git Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
import_gfx Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
microwave Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
navlib Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
netlist_reader Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
pcb_io Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
python Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
ratsnest Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
router Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
specctra_import_export Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
teardrop Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
tools Move dialog launch function into tool class 2025-01-02 14:51:30 +00:00
widgets Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
zone_manager Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
action_plugin.cpp Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
action_plugin.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
array_pad_number_provider.cpp Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
array_pad_number_provider.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
board_commit.cpp Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
board_commit.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
board_connected_item.cpp Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
board_connected_item.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
board_design_settings.cpp Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
board_item_container.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
board_item.cpp Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
board.cpp Move thread pool to singleton class 2025-01-03 13:51:11 -08:00
board.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
build_BOM_from_board.cpp Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
cleanup_item.cpp Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
cleanup_item.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
CMakeLists.txt Lets move the chunk of plot logic from dialog_plot and share it with the jobs handler 2024-12-31 21:15:05 -05:00
collectors.cpp Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
collectors.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
component_class_manager.cpp Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
component_class_manager.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
convert_shape_list_to_polygon.cpp Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
convert_shape_list_to_polygon.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
cross-probing.cpp Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
Doxyfile_python
Doxyfile_xml
edit_track_width.cpp Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
edit_zone_helpers.cpp Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
edit.cpp Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
files.cpp Move thread pool to singleton class 2025-01-03 13:51:11 -08:00
fix_board_shape.cpp Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
fix_board_shape.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
footprint_chooser_frame.cpp Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
footprint_chooser_frame.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
footprint_edit_frame.cpp Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
footprint_edit_frame.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
footprint_editor_settings.cpp Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
footprint_editor_utils.cpp Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
footprint_info_impl.cpp Move thread pool to singleton class 2025-01-03 13:51:11 -08:00
footprint_info_impl.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
footprint_libraries_utils.cpp Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
footprint_preview_panel.cpp Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
footprint_preview_panel.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
footprint_tree_pane.cpp Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
footprint_tree_pane.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
footprint_viewer_frame.cpp Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
footprint_viewer_frame.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
footprint_wizard_frame_functions.cpp Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
footprint_wizard_frame.cpp Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
footprint_wizard_frame.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
footprint_wizard.cpp Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
footprint_wizard.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
footprint.cpp GAL: ViewGetLOD should not be able to change the VIEW 2025-01-02 22:59:31 +08:00
footprint.h GAL: ViewGetLOD should not be able to change the VIEW 2025-01-02 22:59:31 +08:00
fp_tree_model_adapter.cpp Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
fp_tree_model_adapter.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
fp_tree_synchronizing_adapter.cpp Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
fp_tree_synchronizing_adapter.h Clearer naming. 2023-11-09 14:05:35 +00:00
fpedit_doc.icns Add document type icons 2024-02-09 15:55:57 -08:00
fpedit.icns macOS: add a few more known file types 2023-11-16 12:11:42 -05:00
generate_footprint_info.cpp Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
generate_footprint_info.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
generators_mgr.cpp Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
generators_mgr.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
graphics_cleaner.cpp Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
graphics_cleaner.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
grid_layer_box_helpers.cpp Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
grid_layer_box_helpers.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
initpcb.cpp Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
invoke_pcb_dialog.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
kicad_clipboard.cpp Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
kicad_clipboard.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
layer_pairs.cpp Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
layer_pairs.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
load_select_footprint.cpp Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
menubar_footprint_editor.cpp Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
menubar_pcb_editor.cpp Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
netinfo_item.cpp Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
netinfo_list.cpp Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
netinfo.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
pad_custom_shape_functions.cpp Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
pad_utils.cpp Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
pad_utils.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
pad.cpp GAL: ViewGetLOD should not be able to change the VIEW 2025-01-02 22:59:31 +08:00
pad.h GAL: ViewGetLOD should not be able to change the VIEW 2025-01-02 22:59:31 +08:00
padstack.cpp Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
padstack.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
pcb_base_edit_frame.cpp Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
pcb_base_edit_frame.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
pcb_base_frame.cpp Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
pcb_dimension.cpp Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
pcb_dimension.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
pcb_draw_panel_gal.cpp Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
pcb_draw_panel_gal.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
pcb_edit_frame.cpp Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
pcb_edit_frame.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
pcb_field.cpp GAL: ViewGetLOD should not be able to change the VIEW 2025-01-02 22:59:31 +08:00
pcb_field.h GAL: ViewGetLOD should not be able to change the VIEW 2025-01-02 22:59:31 +08:00
pcb_fields_grid_table.cpp Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
pcb_fields_grid_table.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
pcb_generator.cpp Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
pcb_generator.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
pcb_group.cpp GAL: ViewGetLOD should not be able to change the VIEW 2025-01-02 22:59:31 +08:00
pcb_group.h GAL: ViewGetLOD should not be able to change the VIEW 2025-01-02 22:59:31 +08:00
pcb_item_containers.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
pcb_layer_box_selector.cpp Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
pcb_layer_box_selector.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
pcb_layer_presentation.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
pcb_marker.cpp Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
pcb_marker.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
pcb_origin_transforms.cpp Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
pcb_origin_transforms.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
pcb_painter.cpp Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
pcb_painter.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
pcb_plot_params_parser.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
pcb_plot_params.cpp Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
pcb_plot_params.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
pcb_plotter.cpp Don't strip last directory name when plotting 2025-01-02 22:12:24 +00:00
pcb_plotter.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
pcb_reference_image.cpp GAL: ViewGetLOD should not be able to change the VIEW 2025-01-02 22:59:31 +08:00
pcb_reference_image.h GAL: ViewGetLOD should not be able to change the VIEW 2025-01-02 22:59:31 +08:00
pcb_screen.cpp Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
pcb_shape.cpp GAL: ViewGetLOD should not be able to change the VIEW 2025-01-02 22:59:31 +08:00
pcb_shape.h GAL: ViewGetLOD should not be able to change the VIEW 2025-01-02 22:59:31 +08:00
pcb_table.cpp Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
pcb_table.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
pcb_tablecell.cpp Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
pcb_tablecell.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
pcb_target.cpp Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
pcb_target.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
pcb_text.cpp GAL: ViewGetLOD should not be able to change the VIEW 2025-01-02 22:59:31 +08:00
pcb_text.h GAL: ViewGetLOD should not be able to change the VIEW 2025-01-02 22:59:31 +08:00
pcb_textbox.cpp GAL: ViewGetLOD should not be able to change the VIEW 2025-01-02 22:59:31 +08:00
pcb_textbox.h GAL: ViewGetLOD should not be able to change the VIEW 2025-01-02 22:59:31 +08:00
pcb_track.cpp GAL: ViewGetLOD should not be able to change the VIEW 2025-01-02 22:59:31 +08:00
pcb_track.h GAL: ViewGetLOD should not be able to change the VIEW 2025-01-02 22:59:31 +08:00
pcb_view.cpp Cleanup VIEW class 2024-11-21 18:59:48 -08:00
pcb_view.h Cleanup VIEW class 2024-11-21 18:59:48 -08:00
pcbexpr_evaluator.cpp Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
pcbexpr_evaluator.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
pcbexpr_functions.cpp Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
pcbnew_config.cpp Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
pcbnew_config.h Remove obsolete config_params.h includes 2023-09-25 20:40:29 -04:00
pcbnew_doc.icns Add document type icons 2024-02-09 15:55:57 -08:00
pcbnew_id.h Make pad & via teardrops 1st-class citizens (props of the pad/via) 2023-05-19 18:02:03 +01:00
pcbnew_jobs_handler.cpp (Slightly) better de-bouncing of grid cell editing. 2025-01-03 18:33:39 +00:00
pcbnew_jobs_handler.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
pcbnew_printout.cpp Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
pcbnew_printout.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
pcbnew_settings.cpp Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
pcbnew_settings.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
pcbnew.cpp Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
pcbnew.icns Add document type icons 2024-02-09 15:55:57 -08:00
pcbplot.cpp Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
pcbplot.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
plot_board_layers.cpp Plotter: Don't restrict via width query to copper layers 2025-01-01 18:11:27 -05:00
plot_brditems_plotter.cpp Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
plotcontroller.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
plotprint_opts.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
project_pcb.cpp Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
sel_layer.cpp Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
toolbars_footprint_editor.cpp Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
toolbars_footprint_viewer.cpp Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
toolbars_pcb_editor.cpp Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
tracks_cleaner.cpp Move thread pool to singleton class 2025-01-03 13:51:11 -08:00
tracks_cleaner.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
undo_redo.cpp Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
zone_filler.cpp Move thread pool to singleton class 2025-01-03 13:51:11 -08:00
zone_filler.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
zone_settings.cpp Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
zone_settings.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
zone.cpp GAL: ViewGetLOD should not be able to change the VIEW 2025-01-02 22:59:31 +08:00
zone.h GAL: ViewGetLOD should not be able to change the VIEW 2025-01-02 22:59:31 +08:00
zones_functions_for_undo_redo.cpp Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00
zones.h Revise Copyright statement to align with TLF 2025-01-01 14:12:04 -08:00