Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Implement better solution for ThreadPool and std::packaged_task | Dimitri van Heesch | 2020-08-06 | 1 | -49/+59 |
| | | | | | | | | | | | | Careful analysis of the compilation problems with Visual Studio revealed that moving a std::packaged_task<R()> into a std::packaged_task<void()> is a bit controversal as to whether or not it is supposed to work at all or if it triggers undefined behavior. I've now implemented the second solution as suggested here: https://stackoverflow.com/a/31078143/784672 This avoid such conversion altogether and make the Threadpool class more generic again. | ||||
* | Implemented workaround for Visual Studio bug in std::packaged_task | Dimitri van Heesch | 2020-08-05 | 1 | -4/+13 |
| | |||||
* | Added copyright header to threadpool.h | Dimitri van Heesch | 2020-05-31 | 1 | -0/+16 |
| | |||||
* | Added experimental multi-thread input processing support. | Dimitri van Heesch | 2020-05-31 | 1 | -0/+116 |
This is disabled by default. It can be enabled by setting MULTITHREADED_INPUT to 1 in doxygen.h. Still has many data races, so don't use for anything other than development! |