[project @ 2001-10-23 11:42:21 by simonmar]
authorsimonmar <unknown>
Tue, 23 Oct 2001 11:42:22 +0000 (11:42 +0000)
committersimonmar <unknown>
Tue, 23 Oct 2001 11:42:22 +0000 (11:42 +0000)
commit17547204f81e33f9becb8c4663801761a4de0079
tree7bdeb2e59794eacd142132d3c51fea6fc82afc06
parent3ea729f03a3b1cda442c53e0f5be693738d6f289
[project @ 2001-10-23 11:42:21 by simonmar]
Run statements typed at the prompt by calling into the RTS to create a
new main thread.  This acts as a (not-quite-sealed) sandbox, which
lets us detect deadlock without causing GHCi itself to quit.

  Prelude> Concurrent.newEmptyMVar >>= Concurrent.takeMVar
  Deadlocked.
  Prelude>
ghc/compiler/compMan/CompManager.lhs
ghc/compiler/ghci/InteractiveUI.hs