Juce demo: priority inversion in juce::AudioThumbNail?


I was stumbling across a possible problem in the juce demo app. In AudioPlayBackDemo.cpp, samples are added to an audiothumbnail in the audio thread via addBlock(). One of its called functions acquires a lock, which can only be entered in the gui thread, namely in drawChannel().
Wouldn’t that be a good use case to show in the demo, where one could use the AbstractFiFo class to communicate samples from the audio to the gui thread?