Mercurial > hg > svcore
diff data/fft/FFTDataServer.h @ 549:388afa99d537
* More careful (I hope!) locking
author | Chris Cannam |
---|---|
date | Thu, 05 Feb 2009 12:53:19 +0000 |
parents | 1469caaa8e67 |
children | 107d3f3705c9 |
line wrap: on
line diff
--- a/data/fft/FFTDataServer.h Thu Feb 05 12:05:28 2009 +0000 +++ b/data/fft/FFTDataServer.h Thu Feb 05 12:53:19 2009 +0000 @@ -228,7 +228,7 @@ void getStorageAdvice(size_t w, size_t h, bool &memory, bool &compact); - QMutex m_writeMutex; + QMutex m_fftBuffersLock; QWaitCondition m_condition; fftsample *m_fftInput; @@ -259,7 +259,7 @@ FillThread *m_fillThread; void deleteProcessingData(); - void fillColumn(size_t x, bool lockHeld); + void fillColumn(size_t x, FFTCacheReader *tester = 0); void fillComplete(); QString generateFileBasename() const;