diff options
author | Ian Lynagh <ian@well-typed.com> | 2013-02-19 18:47:48 +0000 |
---|---|---|
committer | Ian Lynagh <ian@well-typed.com> | 2013-02-19 18:47:48 +0000 |
commit | 06596cf1bd6c0750bad4ec80867ef3909e88899f (patch) | |
tree | 7205ecdf2123cd363fc87849e639e30447b5ef1e /testsuite/tests/concurrent/should_run/T2910.hs | |
parent | 887b9f0b5337155d6dcd99ab95cc559192504f95 (diff) | |
download | haskell-06596cf1bd6c0750bad4ec80867ef3909e88899f.tar.gz |
Update a couple of tests to use mask rather than block/unblock
Diffstat (limited to 'testsuite/tests/concurrent/should_run/T2910.hs')
-rw-r--r-- | testsuite/tests/concurrent/should_run/T2910.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuite/tests/concurrent/should_run/T2910.hs b/testsuite/tests/concurrent/should_run/T2910.hs index 2867008159..76b8d2f1e0 100644 --- a/testsuite/tests/concurrent/should_run/T2910.hs +++ b/testsuite/tests/concurrent/should_run/T2910.hs @@ -2,7 +2,7 @@ import Control.Exception import GHC.Conc main = do - t1 <- block $ forkIO yield + t1 <- mask $ \_ -> forkIO yield t2 <- forkIO $ killThread t1 threadDelay 100000 threadStatus t1 >>= print |