Named posix semaphores are used for the atlas-game interface. This seems to be set up for inter-process communication... Only all callers are in the same process. So for now, use the usual condition_variable.
I'm removing plenty of dead-code and some wrong encapsulation while at it.
Only use for our pthread wrapper is now the x86_64 timing stuff which I'll try and remove next.