--- linuxsampler/trunk/src/common/WorkerThread.cpp 2007/05/24 14:04:18 1200 +++ linuxsampler/trunk/src/common/WorkerThread.cpp 2008/01/25 15:06:02 1649 @@ -38,6 +38,10 @@ // Entry point for the worker thread. int WorkerThread::Main() { while (true) { + + #if CONFIG_PTHREAD_TESTCANCEL + TestCancel(); + #endif while (!queue.empty()) { Runnable* pJob; @@ -73,4 +77,3 @@ } } // namespace LinuxSampler - \ No newline at end of file