Thanks, I've just about fixed the problem though, by running a while loop inside run() that checks a command buffer that other threads can write to. This solves the problem, but introduces a new one that when the thread is doing nothing (spinning it's wheels in the while-loop) it uses 100% of the processorSo now I have to find a way of overcoming that problem.
Bookmarks