projects
/
ghc-hetmet.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
[project @ 2001-05-03 12:30:35 by simonpj]
[ghc-hetmet.git]
/
ghc
/
tests
/
concurrent
/
should_run
/
conc013.hs
1
module Main where
2
3
-- !!! test Eq and Ord instances over thread Ids.
4
5
import Concurrent
6
7
main = do
8
tso1 <- forkIO (return ())
9
tso2 <- forkIO (return ())
10
print [compare tso1 tso2, compare tso1 tso1, compare tso2 tso1]