irrlicht/source/Irrlicht
cutealien c2dd664fc6 CIrrDeviceWin32::yield() now uses Sleep(0) instead of Sleep(1).
We had changed that once before in the other direction in svn r421
Reason back then was "Sleep(0) doesn't allow any lower priority threads to execute"
But Microsoft changed the behaviour of Sleep(0) after Windows XP so that's no longer true.
And the costs of it is pretty high - due to this using a timer with a 15ms resolutions it meant not just giving up the thread but it also always waited for 15ms on Windows.
I also replaced a few sleep calls in examples for that reason with yield() calls.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@6459 dfc29bdd-3216-0410-991c-e03cc46cb475
2023-10-15 13:37:26 +02:00
..
Android Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
KHR Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
OpenGL OpenGL3: Use std::vector in VertexType instead of clever lifetime games 2023-10-13 11:36:52 +02:00
OpenGL3 OpenGL3: Replace direct calls into libGL with mt_opengl 2023-10-13 11:36:52 +02:00
OpenGLES2 OpenGL3: Replace direct calls into libGL with mt_opengl 2023-10-13 11:36:52 +02:00
BuiltInFont.h Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
CAnimatedMeshSceneNode.cpp Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
CAnimatedMeshSceneNode.h Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
CAttributeImpl.h Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
CAttributes.cpp Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
CAttributes.h Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
CB3DMeshFileLoader.cpp Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
CB3DMeshFileLoader.h Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
CB3DMeshWriter.cpp Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
CB3DMeshWriter.h Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
CBillboardSceneNode.cpp Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
CBillboardSceneNode.h Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
CBlit.h Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
CBoneSceneNode.cpp Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
CBoneSceneNode.h Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
CCameraSceneNode.cpp Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
CCameraSceneNode.h Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
CColorConverter.cpp Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
CColorConverter.h Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
CDummyTransformationSceneNode.cpp Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
CDummyTransformationSceneNode.h Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
CEGLManager.cpp Revert #225 (d98dc90b38) 2023-10-04 23:29:59 +02:00
CEGLManager.h Revert #225 (d98dc90b38) 2023-10-04 23:29:59 +02:00
CEmptySceneNode.cpp Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
CEmptySceneNode.h Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
CFPSCounter.cpp Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
CFPSCounter.h Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
CFileList.cpp Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
CFileList.h Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
CFileSystem.cpp Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
CFileSystem.h Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
CGLXManager.cpp Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
CGLXManager.h Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
CGUIButton.cpp Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
CGUIButton.h Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
CGUICheckBox.cpp Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
CGUICheckBox.h Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
CGUIComboBox.cpp Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
CGUIComboBox.h Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
CGUIEditBox.cpp Fix character encoding conversion issues 2023-10-15 12:59:40 +02:00
CGUIEditBox.h Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
CGUIEnvironment.cpp Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
CGUIEnvironment.h Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
CGUIFileOpenDialog.cpp Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
CGUIFileOpenDialog.h Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
CGUIFont.cpp Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
CGUIFont.h Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
CGUIImage.cpp Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
CGUIImage.h Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
CGUIImageList.cpp Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
CGUIImageList.h Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
CGUIListBox.cpp Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
CGUIListBox.h Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
CGUIScrollBar.cpp Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
CGUIScrollBar.h Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
CGUISkin.cpp Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
CGUISkin.h Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
CGUISpriteBank.cpp Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
CGUISpriteBank.h Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
CGUIStaticText.cpp Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
CGUIStaticText.h Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
CGUITabControl.cpp Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
CGUITabControl.h Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
CImage.cpp Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
CImage.h Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
CImageLoaderBMP.cpp Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
CImageLoaderBMP.h Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
CImageLoaderJPG.cpp Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
CImageLoaderJPG.h Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
CImageLoaderPNG.cpp Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
CImageLoaderPNG.h Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
CImageLoaderTGA.cpp Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
CImageLoaderTGA.h Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
CImageWriterJPG.cpp Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
CImageWriterJPG.h Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
CImageWriterPNG.cpp Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
CImageWriterPNG.h Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
CIrrDeviceLinux.cpp Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
CIrrDeviceLinux.h Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
CIrrDeviceOSX.h Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
CIrrDeviceOSX.mm Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
CIrrDeviceSDL.cpp Fix character encoding conversion issues 2023-10-15 12:59:40 +02:00
CIrrDeviceSDL.h Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
CIrrDeviceStub.cpp Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
CIrrDeviceStub.h Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
CIrrDeviceWin32.cpp CIrrDeviceWin32::yield() now uses Sleep(0) instead of Sleep(1). 2023-10-15 13:37:26 +02:00
CIrrDeviceWin32.h Revert #225 (d98dc90b38) 2023-10-04 23:29:59 +02:00
CLimitReadFile.cpp Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
CLimitReadFile.h Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
CLogger.cpp Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
CLogger.h Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
CMakeLists.txt Fix character encoding conversion issues 2023-10-15 12:59:40 +02:00
CMemoryFile.cpp Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
CMemoryFile.h Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
CMeshCache.cpp Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
CMeshCache.h Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
CMeshManipulator.cpp Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
CMeshManipulator.h Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
CMeshSceneNode.cpp Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
CMeshSceneNode.h Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
CNSOGLManager.h Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
CNSOGLManager.mm Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
CNullDriver.cpp Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
CNullDriver.h Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
COBJMeshFileLoader.cpp Spelling fixes 2023-10-15 13:36:47 +02:00
COBJMeshFileLoader.h Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
COGLES2Common.h Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
COGLES2Driver.cpp Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
COGLES2Driver.h Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
COGLES2ExtensionHandler.cpp Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
COGLES2ExtensionHandler.h Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
COGLES2FixedPipelineRenderer.cpp Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
COGLES2FixedPipelineRenderer.h Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
COGLES2MaterialRenderer.cpp Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
COGLES2MaterialRenderer.h Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
COGLES2Renderer2D.cpp Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
COGLES2Renderer2D.h Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
COGLESCommon.h Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
COGLESCoreExtensionHandler.h Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
COGLESDriver.cpp Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
COGLESDriver.h Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
COGLESExtensionHandler.cpp Revert #225 (d98dc90b38) 2023-10-04 23:29:59 +02:00
COGLESExtensionHandler.h Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
COGLESMaterialRenderer.h Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
COSOperator.cpp Fix character encoding conversion issues 2023-10-15 12:59:40 +02:00
COSOperator.h Unify documentation between IOSOperator and COSOperator 2023-10-15 12:59:40 +02:00
COpenGLCacheHandler.cpp Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
COpenGLCacheHandler.h Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
COpenGLCommon.h Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
COpenGLCoreCacheHandler.h Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
COpenGLCoreFeature.h Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
COpenGLCoreRenderTarget.h Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
COpenGLCoreTexture.h Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
COpenGLDriver.cpp Revert #225 (d98dc90b38) 2023-10-04 23:29:59 +02:00
COpenGLDriver.h Spelling fixes 2023-10-15 13:36:47 +02:00
COpenGLExtensionHandler.cpp Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
COpenGLExtensionHandler.h Revert #225 (d98dc90b38) 2023-10-04 23:29:59 +02:00
COpenGLMaterialRenderer.h Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
COpenGLSLMaterialRenderer.cpp Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
COpenGLSLMaterialRenderer.h Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
COpenGLShaderMaterialRenderer.cpp Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
COpenGLShaderMaterialRenderer.h Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
CReadFile.cpp Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
CReadFile.h Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
CSDLManager.cpp Fix OpenGL3 driver to compile standalone 2023-04-06 12:38:25 +02:00
CSDLManager.h cleanup: get rid of the legacy #ifndef #define craziness 2023-07-20 16:29:09 +02:00
CSceneCollisionManager.cpp Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
CSceneCollisionManager.h Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
CSceneManager.cpp Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
CSceneManager.h Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
CSkinnedMesh.cpp Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
CSkinnedMesh.h Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
CTimer.h Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
CWGLManager.cpp Revert #225 (d98dc90b38) 2023-10-04 23:29:59 +02:00
CWGLManager.h Revert #225 (d98dc90b38) 2023-10-04 23:29:59 +02:00
CWebGL1Driver.cpp Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
CWebGL1Driver.h Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
CWebGLExtensionHandler.h Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
CWriteFile.cpp Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
CWriteFile.h Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
CXMeshFileLoader.cpp Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
CXMeshFileLoader.h Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
CZipReader.cpp Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
CZipReader.h Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
IAttribute.h Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
Irrlicht.cpp Revert #225 (d98dc90b38) 2023-10-04 23:29:59 +02:00
S2DVertex.h Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
SB3DStructs.h Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
SoftwareDriver2_helper.h Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
builtInFont.bmp Merging r5975 through r6036 from trunk to ogl-es branch. 2020-01-03 19:05:16 +00:00
mt_opengl_loader.cpp Enumerate extensions in the OpenGL 3 way 2023-02-27 17:41:03 +03:00
os.cpp Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
os.h Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00