[GHC] #16126: Make -threaded the default

#16126: Make -threaded the default -------------------------------------+------------------------------------- Reporter: mpickering | Owner: (none) Type: task | Status: new Priority: normal | Milestone: Component: Compiler | Version: 8.6.3 Keywords: newcomer | Operating System: Unknown/Multiple Architecture: | Type of failure: None/Unknown Unknown/Multiple | Test Case: | Blocked By: Blocking: | Related Tickets: Differential Rev(s): | Wiki Page: -------------------------------------+------------------------------------- Simon M writes back in 2016
Related to this, I think it's about time we made -threaded the default. We could add a -single-threaded option to get back the old behaviour.
There is a small overhead to using -threaded, but -threaded is also required to make a lot of things work (e.g. waitForProcess in a multithreaded program, not to mention parallelism).
All that needs doing is to add a flag `-single-threaded` to enable the old behaviour and a deprecation warning alerting uses that `-threaded` is the new default. https://mail.haskell.org/pipermail/ghc-devs/2016-October/013101.html -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/16126 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#16126: Make -threaded the default -------------------------------------+------------------------------------- Reporter: mpickering | Owner: (none) Type: task | Status: new Priority: normal | Milestone: Component: Compiler | Version: 8.6.3 Resolution: | Keywords: newcomer Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Changes (by simonmar): * cc: simonmar (added) -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/16126#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC