Reworked windows threading code so it's windows xp compatible

git-svn-id: svn+ssh://svn.code.sf.net/p/yabause/code/trunk@3227 d7be59e3-070e-4b9a-85a1-4646befae34d