I'll introduce at the topmost thread a frequency used for timing.
Planed is to try the following frequencies:
Thread |
Frequency |
Audio Loop |
1000 Hz |
Devout Thread |
100 Hz |
Gui Thread |
100 Hz |
Task Thread |
1000 Hz |
This will probably fix almost all faults. And the threads stay synced.