Mercurial > hg > svcore
diff data/fft/FFTDataServer.h @ 216:7f8ffe65d453
* Fixes to FFT server lifecycle management
author | Chris Cannam |
---|---|
date | Mon, 22 Jan 2007 13:20:54 +0000 |
parents | a051929fef3b |
children | a867be73b638 |
line wrap: on
line diff
--- a/data/fft/FFTDataServer.h Fri Jan 19 14:38:57 2007 +0000 +++ b/data/fft/FFTDataServer.h Mon Jan 22 13:20:54 2007 +0000 @@ -206,6 +206,10 @@ static QMutex m_serverMapMutex; static FFTDataServer *findServer(QString); // call with serverMapMutex held static void purgeLimbo(int maxSize = 3); // call with serverMapMutex held + + static void claimInstance(FFTDataServer *, bool needLock); + static void releaseInstance(FFTDataServer *, bool needLock); + }; #endif