-
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