Mercurial > hg > svcore
comparison data/fft/FFTDataServer.cpp @ 455:3e0f1f7bec85
* Fix a nasty and long-standing race condition in MatrixFile's use of
FileReadThread that was causing crashes sometimes
| author | Chris Cannam |
|---|---|
| date | Thu, 09 Oct 2008 20:10:28 +0000 |
| parents | 325112751f0e |
| children | b6dc6c7f402c |
comparison
equal
deleted
inserted
replaced
| 454:ba7aaacb7211 | 455:3e0f1f7bec85 |
|---|---|
| 25 #include "base/StorageAdviser.h" | 25 #include "base/StorageAdviser.h" |
| 26 #include "base/Exceptions.h" | 26 #include "base/Exceptions.h" |
| 27 #include "base/Profiler.h" | 27 #include "base/Profiler.h" |
| 28 #include "base/Thread.h" // for debug mutex locker | 28 #include "base/Thread.h" // for debug mutex locker |
| 29 | 29 |
| 30 #define DEBUG_FFT_SERVER 1 | 30 //#define DEBUG_FFT_SERVER 1 |
| 31 //#define DEBUG_FFT_SERVER_FILL 1 | 31 //#define DEBUG_FFT_SERVER_FILL 1 |
| 32 | 32 |
| 33 #ifdef DEBUG_FFT_SERVER_FILL | 33 #ifdef DEBUG_FFT_SERVER_FILL |
| 34 #ifndef DEBUG_FFT_SERVER | 34 #ifndef DEBUG_FFT_SERVER |
| 35 #define DEBUG_FFT_SERVER 1 | 35 #define DEBUG_FFT_SERVER 1 |
