Ticket #5826 (closed task: fixed)
Refer to Control.Concurrent instead of GHC.Conc in GHC 7.4.1 User's Guide
| Reported by: | shelarcy | Owned by: | |
|---|---|---|---|
| Priority: | high | Milestone: | 7.4.2 |
| Component: | Documentation | Version: | 7.4.1-rc2 |
| Keywords: | Cc: | shelarcy@… | |
| Operating System: | Unknown/Multiple | Architecture: | Unknown/Multiple |
| Type of failure: | Documentation bug | Difficulty: | Unknown |
| Test Case: | Blocked By: | ||
| Blocking: | Related Tickets: |
Description
GHC 7.4.1 RC 2 User's Guide "RTS options for SMP parallelism" section describes not recommend way. Using getNumCapabilities function from GHC.Conc instead of Control.Concurrent module, and using GHC.Conc's deprecated forkOnIO function instead of Control.Concurrent's forkOn function.
GHC HEAD already fixed this problem by 7d7809de3c6e264ae4af92c37da499502fc2fb20 with below base package's change ( 1b5f7ae2ffc6f3c851970efc26687763a4e0fc58 ).
But ghc-7.4 branch doesn't fix this yet.
Ian, could you please merge these changes.
Change History
Note: See
TracTickets for help on using
tickets.
