moved synchronization primitives into DOSKit from DOSBox