Regular API function


Description Queries whether the current thread will eventually automatically switch to another thread. If the current script doesn't run in a thread (i.e. if it runs in the application main thread), this function always return false. See also simSetThreadAutomaticSwitch.
C synopsis -
C parameters
C return value
Lua synopsis boolean result=simGetThreadAutomaticSwitch()
Lua parameters
Lua return values
result: if true, the thread is able to automatically switch to another thread.

All regular API functions on one page