Skip to main content

From scratch we go

Well, again no post with "Package manager working", but I've got a good excuse why not ;) After digging a bit deeper into multithreading, the currently available libs (Boost.Threads, etc.) had problems to do the job, at least here. Plus, all of those libraries focus on low-level abstractions while I needed a consistent low-to-high-level thread framework. So I decided to roll my own ... :)


It's actually not that complicated, the basic primitives are rather easy (mutex, semaphore, etc.). The only tricky one is a "Condition", at least under Win32 where you have to be damn careful that the transition from working->waiting and back is really atomic. I'm working on the higher-level abstractions like producer/consumer or map/reduce, let's see how I get on.