Regular API function

sim.getThreadAutomaticSwitch

Description Deprecated
C/C++
synopsis
C/C++
parameters
C/C++
return value
Lua
synopsis
bool result,int lockLevel=sim.getThreadAutomaticSwitch()
Lua
parameters
Lua
return values
result: if true, the thread will automatically be interrupted, i.e. switched
lockLevel: the current thread switch lock level
Python
synopsis