Core.yieldlock

From GiderosMobile

Available since: Gideros 2025.2.2
Class: Core

Description

Ensure the thread won't yield, an error will be thrown if it tries to do so. This is mostly for debugging purposes. There must be exactly the same number of Core.yieldlock(true) and Core.yieldlock(false) in your code paths.

Core.yieldlock(bool)

Parameters

bool: (boolean) enable/disable current thread locking