Threads and 2016r3

[quote=299130:@Greg O’Lone]

Then all you’d need to do in the run event is:

If ubound(DataQueue) = -1 then self.sleep(1000,false) Continue End if[/quote]

Never thought of using continue in this context. I couldn’t find a reference in the documentation either by the way…

http://developer.xojo.com/continue
http://developer.xojo.com/if-then-else

Continue is not being used with the If-Then condition; it’s being used with the While loop.

And it all makes sense again.