The Red Penguin


Wednesday 5 August 2020

Just some short thoughts on this!

The Timer class allows you to create a separate thread in your application which can run in parallel with the other threads. This thread can be instructed to periodically call a function.

In a JUCE application we will have a number of threads going on at once - audio thread, graphics thread etc.

e.g. We've used threads to draw playhead which animates quite slowly across the screen. But it doesn't interfere with the playback.