Regular API function

sim.switchThread

Description Allows the current thread to explicitely interrupt execution, and give control back to CoppeliaSim, next to preemptive threading (which implicitely interrupts a thread after a certain delay). 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.switchThread()
Lua parameters
Lua return values
Python synopsis sim.switchThread()