Regular API function

sim.getThreadSwitchAllowed

Description Lua only. Queries whether the current thread can 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.getThreadSwitchAllowed()
Lua
parameters
Lua
return values
result: if true, the thread can be interrupted, i.e. switched.
Python
synopsis

<