Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Alex D
GHC
Commits
e06849a1
Commit
e06849a1
authored
Apr 23, 2009
by
Simon Marlow
Browse files
don't overwrite io_manager_pipe if it is already set
Part of the fix for #3171
parent
4d926e46
Changes
1
Hide whitespace changes
Inline
Side-by-side
rts/posix/Signals.c
View file @
e06849a1
...
...
@@ -95,7 +95,9 @@ setIOManagerPipe (int fd)
{
// only called when THREADED_RTS, but unconditionally
// compiled here because GHC.Conc depends on it.
io_manager_pipe
=
fd
;
if
(
io_manager_pipe
<
0
)
{
io_manager_pipe
=
fd
;
}
}
#if defined(THREADED_RTS)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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