Disclaimer: this is a work-in-progress, is bound to contain some mistakes and the code was only briefly tested. Use at you own discretion. In a previous blog post called ‘std::shared_ptr<> broken?‘ I talked about the problems of using a std::shared_ptr<> from more then one thread at the same time. There I mentioned the reading/writing to Read more about Introducing mt_shared_ptr<>, a shared pointer for multi-threaded use[…]
The powerpoint that I used for the CPPCON 2017 Tripreport at ThermoFisher Scientific can be found here.
Just watched the first episode of Jason Turner‘s C++ Weekly, very nice, I can get addicted to that 🙂 I never considered the complexities that a header-only library could introduce (such as having no good place to initialize static variables 🙂
Executors So what are executors? Executors sit between tasks and their execution-context, the way iterators sit between collections and algorithms. Executors could potentially do many things, to name some: parallelize tasks (over multiple cores for example) distribute tasks (over multiple machines or to gpu’s for example) sequentialize tasks (stitch tasks together over time) prioritize tasks Read more about Executors 101[…]