Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Shayne Fletcher
Glasgow Haskell Compiler
Commits
8edc7cea
Commit
8edc7cea
authored
Aug 29, 2006
by
Simon Marlow
Browse files
oops, got the sense of the error case wrong
parent
7cb50e3a
Changes
1
Hide whitespace changes
Inline
Side-by-side
rts/win32/IOManager.c
View file @
8edc7cea
...
...
@@ -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
--
;
}
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment