irrlicht/examples
cutealien a3adfc196b 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-04-03 15:32:41 +00:00
..
01.HelloWorld Add VC17 (VS 2022) project files and solutions 2022-11-19 14:22:50 +00:00
02.Quake3Map CIrrDeviceWin32::yield() now uses Sleep(0) instead of Sleep(1). 2023-04-03 15:32:41 +00:00
03.CustomSceneNode Add VC17 (VS 2022) project files and solutions 2022-11-19 14:22:50 +00:00
04.Movement Add VC17 (VS 2022) project files and solutions 2022-11-19 14:22:50 +00:00
05.UserInterface Add VC17 (VS 2022) project files and solutions 2022-11-19 14:22:50 +00:00
06.2DGraphics Add VC17 (VS 2022) project files and solutions 2022-11-19 14:22:50 +00:00
07.Collision Add VC17 (VS 2022) project files and solutions 2022-11-19 14:22:50 +00:00
08.SpecialFX Add VC17 (VS 2022) project files and solutions 2022-11-19 14:22:50 +00:00
09.Meshviewer Add VC17 (VS 2022) project files and solutions 2022-11-19 14:22:50 +00:00
10.Shaders Document some shader behaviour 2023-02-28 20:21:00 +00:00
11.PerPixelLighting Add VC17 (VS 2022) project files and solutions 2022-11-19 14:22:50 +00:00
12.TerrainRendering Add VC17 (VS 2022) project files and solutions 2022-11-19 14:22:50 +00:00
13.RenderToTexture Add VC17 (VS 2022) project files and solutions 2022-11-19 14:22:50 +00:00
14.Win32Window Add VC17 (VS 2022) project files and solutions 2022-11-19 14:22:50 +00:00
15.LoadIrrFile Add VC17 (VS 2022) project files and solutions 2022-11-19 14:22:50 +00:00
16.Quake3MapShader Add VC17 (VS 2022) project files and solutions 2022-11-19 14:22:50 +00:00
17.HelloWorld_Mobile Remove CPPFLAG -I/usr/X11R6/include in all example Makefiles 2022-01-09 15:50:41 +00:00
18.SplitScreen Add VC17 (VS 2022) project files and solutions 2022-11-19 14:22:50 +00:00
19.MouseAndJoystick Add VC17 (VS 2022) project files and solutions 2022-11-19 14:22:50 +00:00
20.ManagedLights Add VC17 (VS 2022) project files and solutions 2022-11-19 14:22:50 +00:00
21.Quake3Explorer Add VC17 (VS 2022) project files and solutions 2022-11-19 14:22:50 +00:00
22.MaterialViewer CIrrDeviceWin32::yield() now uses Sleep(0) instead of Sleep(1). 2023-04-03 15:32:41 +00:00
23.SMeshHandling Add VC17 (VS 2022) project files and solutions 2022-11-19 14:22:50 +00:00
24.CursorControl CIrrDeviceWin32::yield() now uses Sleep(0) instead of Sleep(1). 2023-04-03 15:32:41 +00:00
25.XmlHandling CIrrDeviceWin32::yield() now uses Sleep(0) instead of Sleep(1). 2023-04-03 15:32:41 +00:00
26.OcclusionQuery Add VC17 (VS 2022) project files and solutions 2022-11-19 14:22:50 +00:00
27.PostProcessing Add VC17 (VS 2022) project files and solutions 2022-11-19 14:22:50 +00:00
28.CubeMapping Add VC17 (VS 2022) project files and solutions 2022-11-19 14:22:50 +00:00
29.HardwareSkinning Avoid warning and make local variable lower-case. 2019-12-12 16:32:41 +00:00
30.Profiling Add VC17 (VS 2022) project files and solutions 2022-11-19 14:22:50 +00:00
BuildAllExamples.xcworkspace Avoid warning and make local variable lower-case. 2019-12-12 16:32:41 +00:00
Demo Add VC17 (VS 2022) project files and solutions 2022-11-19 14:22:50 +00:00
BuildAllExamples_vc10.sln Avoid warning and make local variable lower-case. 2019-12-12 16:32:41 +00:00
BuildAllExamples_vc11.sln Avoid warning and make local variable lower-case. 2019-12-12 16:32:41 +00:00
BuildAllExamples_vc12.sln Avoid warning and make local variable lower-case. 2019-12-12 16:32:41 +00:00
BuildAllExamples_vc14.sln burning v0.53 2022-04-30 22:57:17 +00:00
BuildAllExamples_vc16.sln vs2019 projectfiles 2022-05-03 21:26:24 +00:00
BuildAllExamples_vc17.sln Add VC17 (VS 2022) project files and solutions 2022-11-19 14:22:50 +00:00
buildAllExamples.sh Avoid warning and make local variable lower-case. 2019-12-12 16:32:41 +00:00
BuildAllExamples.workspace Avoid warning and make local variable lower-case. 2019-12-12 16:32:41 +00:00
Makefile Avoid warning and make local variable lower-case. 2019-12-12 16:32:41 +00:00
whereAreTheBinaries.txt Avoid warning and make local variable lower-case. 2019-12-12 16:32:41 +00:00