From 8edc7cea056b3de64508d700c1ace9965589a26e Mon Sep 17 00:00:00 2001 From: Simon Marlow Date: Tue, 29 Aug 2006 15:17:51 +0000 Subject: [PATCH] oops, got the sense of the error case wrong --- rts/win32/IOManager.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rts/win32/IOManager.c b/rts/win32/IOManager.c index 993b1fb..2123b8c 100644 --- a/rts/win32/IOManager.c +++ b/rts/win32/IOManager.c @@ -340,7 +340,7 @@ depositWorkItem( unsigned int reqID, if ( (ioMan->workersIdle < ioMan->queueSize) ) { /* No, go ahead and create another. */ ioMan->numWorkers++; - if (NewIOWorkerThread(ioMan)) { + if (!NewIOWorkerThread(ioMan)) { ioMan->numWorkers--; } } -- 1.7.10.4