@kaspar030 you are absolutely right with you concerns. But this PR is not intendend to get merged right now, it's a public evaluation of our future pthread code. This shows the current state of the implementation and has a "DO NOT MERGE" block in description. Don't worry I'm not going to merge this :) 

We are just discussing our possibilities!