*
* (c) sof, 2002-2003.
*/
+
+#if !defined(THREADED_RTS)
+
#include "Rts.h"
#include "IOManager.h"
#include "WorkQueue.h"
if ( (ioMan->workersIdle < ioMan->queueSize) ) {
/* No, go ahead and create another. */
ioMan->numWorkers++;
- if (NewIOWorkerThread(ioMan)) {
+ if (!NewIOWorkerThread(ioMan)) {
ioMan->numWorkers--;
}
}
*/
LeaveCriticalSection(&ioMan->active_work_lock);
}
+
+#endif