Skip to content
  • Simon Marlow's avatar
    [project @ 2001-10-23 11:42:21 by simonmar] · 17547204
    Simon Marlow authored
    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>
    17547204