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
jberryman
GHC
Commits
22dcfa7c
Commit
22dcfa7c
authored
Oct 27, 2000
by
simonmar
Browse files
[project @ 2000-10-27 14:55:01 by simonmar]
don't fake the processID
parent
1db94ec6
Changes
1
Hide whitespace changes
Inline
Side-by-side
ghc/compiler/utils/Util.lhs
View file @
22dcfa7c
...
...
@@ -73,6 +73,9 @@ import FastTypes
#if __GLASGOW_HASKELL__ <= 408
import Exception ( catchIO, justIoErrors, raiseInThread )
#endif
#ifndef mingw32_TARGET_OS
import Posix
#endif
infixr 9 `thenCmp`
\end{code}
...
...
@@ -727,7 +730,6 @@ throwTo = raiseInThread
foreign import "_getpid" myGetProcessID :: IO Int
#else
myGetProcessID :: IO Int
myGetProcessID = do hPutStrLn stderr "Warning:faking process ID in myGetProcessID"
return 12345
myGetProcessID = Posix.getProcessID
#endif
\end{code}
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