Regular API function

sim.getThreadSwitchTiming

Description Lua only. Returns the thread interruption- or switch-delay, that will be automatically enforced by the system (preemptive threading). By default this value is 2 millisecond. 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
int dtInMs=sim.getThreadSwitchTiming()
Lua
parameters
dtInMs: the execution time in milliseconds, before an interruption or switch occurs.
Lua
return values
 
Python
synopsis

<