Suppose I have a tab-based interface like Internet Explorer. In each tabpage cpu-intensive stuff can happen (f.e. displaying a waveform and calculating and displaying a realtime FFT) that is only relevant as realtime statistic - so only when it's actuallty visible to the user.
What's the best way to approach this ?