Default to all cores for executables compiled with -threaded
The Haskell wiki shows that you need to both set a compilation flag and a run-time flag to get multi-core support. Why can't the run-time executable detect it was compiled with -threaded and use all cores on the system unless otherwise specified?
I think there should still be flags to turn modify the number of cores used.
Trac metadata
| Trac field | Value |
|---|---|
| Version | 6.12.3 |
| Type | FeatureRequest |
| TypeOfFailure | OtherFailure |
| Priority | normal |
| Resolution | Unresolved |
| Component | Compiler |
| Test case | |
| Differential revisions | |
| BlockedBy | |
| Related | |
| Blocking | |
| CC | |
| Operating system | |
| Architecture |