godot
godot copied to clipboard
Use thread yield primitive for busy waits
Using the yield primitive lets the OS know our intent better than a microwait. This may improve energy efficiency and/or performance.