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
Glasgow Haskell Compiler
GHC
Commits
d9b9ede0
Commit
d9b9ede0
authored
Feb 20, 2007
by
Simon Marlow
Browse files
make this test slightly more robust (fix occasional failure with threaded2)
parent
6c3032f0
Changes
1
Hide whitespace changes
Inline
Side-by-side
testsuite/tests/ghc-regress/concurrent/should_run/conc037.hs
View file @
d9b9ede0
...
...
@@ -18,7 +18,7 @@ main = do
sleepBlock
1
putStrLn
"newThread back again"
putMVar
th
"1 sec later"
yield
-- make sure the newly created thread is run.
threadDelay
200000
-- make sure the newly created thread is run.
putStrLn
"mainThread"
x
<-
takeMVar
th
putStrLn
x
...
...
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