Michael Fabian 'Xaymar' Dirks
d883f66fa0
util/threadpool: Show warnings for uncaught exceptions
...
Tasks should not leak exceptions, so it is better if we actually log them instead of silently ignoring them.
2023-03-28 12:52:20 +02:00
Michael Fabian 'Xaymar' Dirks
0eddfd75ae
util/threadpool: Formatting and allow cancelling of tasks
2023-03-28 12:40:42 +02:00
Michael Fabian 'Xaymar' Dirks
05d69e3c59
util-threadpool: Fix rare double-execute bug
2020-04-17 11:44:37 +02:00
Michael Fabian 'Xaymar' Dirks
908d1f0a20
project: Modernize code to proper C++
2020-04-09 00:17:25 +02:00
Michael Fabian 'Xaymar' Dirks
89b99402c0
util-threadpool: Add missing includes
2020-04-01 14:32:54 +02:00
Michael Fabian 'Xaymar' Dirks
1942782b56
util-threadpool: Fix order of initialization
2020-03-27 20:10:09 +01:00
Michael Fabian 'Xaymar' Dirks
08024049c2
util-threadpool: Implement global thread pool
...
This thread pool can take large or small tasks and as such alleviates the burden of having a thread per source. Particularly for large setups, this drastically reduces the number of threads running in the background waiting for work.
2020-03-03 01:52:54 +01:00