Michael Fabian 'Xaymar' Dirks
6e02ee5fef
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.
2020-07-29 02:13:02 +02:00
Michael Fabian 'Xaymar' Dirks
5892f8a85c
util/threadpool: Formatting and allow cancelling of tasks
2020-05-12 04:13:11 +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