projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7cb50e3
)
oops, got the sense of the error case wrong
author
Simon Marlow
<simonmar@microsoft.com>
Tue, 29 Aug 2006 15:17:51 +0000
(15:17 +0000)
committer
Simon Marlow
<simonmar@microsoft.com>
Tue, 29 Aug 2006 15:17:51 +0000
(15:17 +0000)
rts/win32/IOManager.c
patch
|
blob
|
history
diff --git
a/rts/win32/IOManager.c
b/rts/win32/IOManager.c
index
993b1fb
..
2123b8c
100644
(file)
--- 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--;
}
}