[SOLVED] Pulsing lights without Thread::sleep?

That here seems to have the answer: