aboutsummaryrefslogtreecommitdiff
path: root/src/common/threadpool.h (follow)
AgeCommit message (Collapse)AuthorFilesLines
2018-02-02threadpool: catch exceptions in dtor, to avoid terminatemoneromooo-monero1-1/+2
If an exception is thrown, it is ignored. While this may hide a bug, this should only be system exceptions in boost, which is pretty unlikely. Morever, wait should be called manually before the dtor anyway. Add an error message if the dtor has to wait in case some such cases creep in so they get fixed. Coverity 182538
2018-01-26Readd copyright starting datexmr-eric1-1/+1
2018-01-26Update 2018 copyrightxmr-eric1-1/+1
2017-09-15Tweak concurrency limitsHoward Chu1-1/+1
Create capacity for 2x max, but lie about it
2017-09-14Use a threadpoolHoward Chu1-0/+87
Instead of constantly creating and destroying threads