Thread.YieldToNext
From Xojo Documentation
Method
Causes the current thread to yield its time to the next thread.
Notes
This causes the Thread Scheduler to yield the currently executing thread's processing time to the next Thread in the queue that is awaiting processing cycles. It is possible for the next Thread to be the currently executing Thread.