Commit 1c44d851 authored by simonmar's avatar simonmar
Browse files

[project @ 2002-01-22 14:07:16 by simonmar]

Add deadlock exception test.
parent 3658c020
import Concurrent
import Exception
-- !!! test that deadlock is raised as an exception properly
main = do
r <- Exception.try $ do
m <- newEmptyMVar
takeMVar m
return ()
print r
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment