Use a different function for the other thread so that the static memory isn't reused and put the Windows wait back in as the rsh return code is wrong.
Use a different function for the other thread so that the static memory isn't reused and put the Windows wait back in as the rsh return code is wrong.


git-svn-id: 4705079bc6b8aadf675e3696f5c015a6aa4916e3@1505 3c1deb5b-d424-0410-962d-aba41a686d42

hsorby/zinc,OpenCMISS/zinc,hsorby/zinc,OpenCMISS/zinc,OpenCMISS/zinc,hsorby/zinc,hsorby/zinc,OpenCMISS/zinc