Blog

Introducing mt_shared_ptr<>, a shared pointer for multi-threaded use

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[…]

Executors 101

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[…]