Opened 8 months ago

Last modified 8 months ago

#16126 new task

Make -threaded the default

Reported by: mpickering Owned by:
Priority: normal Milestone:
Component: Compiler Version: 8.6.3
Keywords: newcomer Cc: simonmar
Operating System: Unknown/Multiple Architecture: Unknown/Multiple
Type of failure: None/Unknown Test Case:
Blocked By: Blocking:
Related Tickets: Differential Rev(s):
Wiki Page:

Description

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

Change History (1)

comment:1 Changed 8 months ago by simonmar

Cc: simonmar added
Note: See TracTickets for help on using tickets.