projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9020d22
)
[project @ 2001-02-14 14:14:55 by simonmar]
author
simonmar
<unknown>
Wed, 14 Feb 2001 14:14:55 +0000
(14:14 +0000)
committer
simonmar
<unknown>
Wed, 14 Feb 2001 14:14:55 +0000
(14:14 +0000)
simple tryPutMVar test.
ghc/tests/concurrent/should_run/conc028.hs
[new file with mode: 0644]
patch
|
blob
diff --git a/ghc/tests/concurrent/should_run/conc028.hs
b/ghc/tests/concurrent/should_run/conc028.hs
new file mode 100644
(file)
index 0000000..
ee39aad
--- /dev/null
+++ b/
ghc/tests/concurrent/should_run/conc028.hs
@@ -0,0
+1,8
@@
+-- test tryPutMVar
+
+import Concurrent
+
+main = do
+ m <- newMVar ()
+ r <- tryPutMVar m ()
+ print r