irrlicht/include
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
..
aabbox3d.h Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
CMeshBuffer.h Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
coreutil.h Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
dimension2d.h Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
EAttributes.h Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
ECullingTypes.h Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
EDebugSceneTypes.h Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
EDeviceTypes.h Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
EDriverFeatures.h Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
EDriverTypes.h Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
EFocusFlags.h Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
EGUIAlignment.h Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
EGUIElementTypes.h Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
EHardwareBufferFlags.h Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
EMaterialProps.h Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
EMaterialTypes.h Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
EMeshWriterEnums.h Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
EPrimitiveTypes.h Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
EReadFileType.h Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
ESceneNodeTypes.h Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
EShaderTypes.h Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
EVertexAttributes.h Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
exampleHelper.h Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
fast_atof.h Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
IAnimatedMesh.h Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
IAnimatedMeshSceneNode.h Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
IAttributes.h Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
IBillboardSceneNode.h Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
IBoneSceneNode.h Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
ICameraSceneNode.h Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
IContextManager.h Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
ICursorControl.h Spelling fixes 2023-10-15 13:36:22 +02:00
IDummyTransformationSceneNode.h Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
IEventReceiver.h Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
IFileArchive.h Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
IFileList.h Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
IFileSystem.h Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
IGPUProgrammingServices.h Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
IGUIButton.h Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
IGUICheckBox.h Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
IGUIComboBox.h Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
IGUIEditBox.h Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
IGUIElement.h Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
IGUIEnvironment.h Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
IGUIFileOpenDialog.h Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
IGUIFont.h Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
IGUIFontBitmap.h Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
IGUIImage.h Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
IGUIImageList.h Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
IGUIListBox.h Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
IGUIScrollBar.h Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
IGUISkin.h Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
IGUISpriteBank.h Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
IGUIStaticText.h Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
IGUITabControl.h Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
IGUIToolbar.h Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
IImage.h Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
IImageLoader.h Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
IImageWriter.h Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
IIndexBuffer.h Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
ILogger.h Spelling fixes 2023-10-15 13:36:22 +02:00
IMaterialRenderer.h Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
IMaterialRendererServices.h Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
IMemoryReadFile.h Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
IMesh.h Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
IMeshBuffer.h Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
IMeshCache.h Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
IMeshLoader.h Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
IMeshManipulator.h Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
IMeshSceneNode.h Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
IMeshWriter.h Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
IOSOperator.h Unify documentation between IOSOperator and COSOperator 2023-10-15 12:59:40 +02:00
IReadFile.h Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
IReferenceCounted.h Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
IRenderTarget.h Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
irrArray.h Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
IrrCompileConfig.h Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
irrlicht.h Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
IrrlichtDevice.h CIrrDeviceWin32::yield() now uses Sleep(0) instead of Sleep(1). 2023-10-15 13:37:26 +02:00
irrMath.h Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
irrpack.h Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
irrString.h Fix character encoding conversion issues 2023-10-15 12:59:40 +02:00
irrTypes.h Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
irrunpack.h Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
irrUString.h Fix uninitialized memory error in operator- for ustring16 iterators 2023-08-29 17:33:25 +02:00
ISceneCollisionManager.h Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
ISceneManager.h Spelling fixes 2023-10-15 13:36:22 +02:00
ISceneNode.h Spelling fixes 2023-10-15 13:36:47 +02:00
IShaderConstantSetCallBack.h Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
ISkinnedMesh.h Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
ITexture.h Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
ITimer.h Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
IVertexBuffer.h Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
IVideoDriver.h Spelling fixes 2023-10-15 13:36:22 +02:00
IWriteFile.h Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
Keycodes.h Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
line2d.h Spelling fixes 2023-10-15 13:36:22 +02:00
line3d.h Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
matrix4.h Spelling fixes 2023-10-15 13:36:47 +02:00
mt_opengl.h Drop IrrCompileConfig (#163) 2023-03-11 15:04:09 +01:00
path.h Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
plane3d.h Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
position2d.h Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
quaternion.h Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
rect.h Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
S3DVertex.h Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
SAnimatedMesh.h Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
SceneParameters.h Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
SColor.h Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
SExposedVideoData.h Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
SIrrCreationParameters.h Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
SMaterial.h Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
SMaterialLayer.h Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
SMesh.h Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
SMeshBuffer.h Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
SOverrideMaterial.h Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
SSkinMeshBuffer.h Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
SVertexIndex.h Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
SVertexManipulator.h Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
SViewFrustum.h Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
triangle3d.h Cleanup line endings (#245) 2023-10-03 20:37:00 +02:00
vector2d.h Spelling fixes 2023-10-15 13:36:22 +02:00
vector3d.h Spelling fixes 2023-10-15 13:36:47 +02:00