Regular API function

sim.getThreadAutomaticSwitch

Description Queries whether the current thread will automatically be interrupted, i.e. switched. For complete control over thread switching, see also the other thread related functions.
C/C++
synopsis
C/C++
parameters
C/C++
return value
Lua
synopsis
bool result=sim.getThreadAutomaticSwitch()
Lua
parameters
Lua
return values
result: if true, the thread will automatically be interrupted, i.e. switched.
Python
synopsis
bool result=sim.getThreadAutomaticSwitch()