%HAXELIB_ROOT%/hxcpp/4,2,1/include/hx/Thread.h
// Returns true on success, false on timeout
Returns true on success, false on timeout
Returns true on success false on timeout
bool WaitSeconds(double inSeconds)
   {
      #ifdef HX_WINRT
      return WaitForSingleObjectEx(mSemaphore,inSeconds*1000.0,false) != WAIT_TIMEOUT;
      #else
      return WaitForSingleObject(mSemaphore,inSeconds*1000.0) != WAIT_TIMEOUT;
      #endif
   }
bool WaitSeconds ( double inSeconds ) { #ifdef HX_WINRT return WaitForSingleObjectEx ( mSemaphore , inSeconds * 1000.0 , false ) != WAIT_TIMEOUT ; #else return WaitForSingleObject ( mSemaphore , inSeconds * 1000.0 ) != WAIT_TIMEOUT ; #endif }
Returns true on success, false on timeout
Returns true on success false on timeout