Regular API function
sim.setThreadSwitchTiming
Description
|
Lua only. Allows specifying a 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
|
sim.setThreadSwitchTiming(int dtInMs) |
Lua parameters |
dtInMs: desired execution time, in milliseconds, before an interruption or switch occurs.
|
Lua return values
|
|
Python synopsis |
|
|