Skip to content

Conversation

@bbernhar
Copy link
Contributor

@bbernhar bbernhar commented Dec 9, 2022

Instead of whipping up new threads per task, a single thread pool now processes all tasks. To guarantee the thread pool continues to process new tasks, a minimum number of running threads is specified (to to a specified max).

@github-actions github-actions bot added D3D12 DirectX 12 Backend Change Frontend Changes to common or GPU API agnostic code. labels Dec 9, 2022
@bbernhar bbernhar force-pushed the thread branch 8 times, most recently from e3127db to 1598b8d Compare December 9, 2022 23:19
@bbernhar bbernhar changed the title Process async tasks using a reusable thread pool instead of creating threads pools per task. Process async tasks using a reusable thread pool Dec 9, 2022
@bbernhar bbernhar force-pushed the thread branch 8 times, most recently from bf61319 to 5c0685c Compare December 13, 2022 02:10
@github-actions github-actions bot added the Test Changes in tests. label Dec 13, 2022
@bbernhar bbernhar force-pushed the thread branch 4 times, most recently from 9e87998 to d7f128d Compare December 17, 2022 00:57
@github-actions github-actions bot added the Build Changes to build system. label Dec 17, 2022
@bbernhar bbernhar force-pushed the thread branch 5 times, most recently from bad693a to 0c23623 Compare January 3, 2023 20:29
@bbernhar bbernhar force-pushed the thread branch 16 times, most recently from 7dbe6a0 to df4175e Compare January 5, 2023 23:04
@bbernhar bbernhar changed the title Process async tasks using a reusable thread pool Process tasks using a reusable thread pool Jan 6, 2023
@bbernhar bbernhar changed the title Process tasks using a reusable thread pool Process tasks using a same thread pool Jan 6, 2023
@bbernhar bbernhar merged commit cbcac15 into main Jan 6, 2023
@bbernhar bbernhar deleted the thread branch January 6, 2023 16:53
@bbernhar bbernhar added the enhancement New feature or request label Jan 6, 2023
bbernhar added a commit that referenced this pull request Jan 6, 2023
bbernhar added a commit that referenced this pull request Jan 6, 2023
bbernhar added a commit that referenced this pull request Jan 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Build Changes to build system. D3D12 DirectX 12 Backend Change enhancement New feature or request Frontend Changes to common or GPU API agnostic code. Test Changes in tests.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants