[GHC] #13836: Some event log events won't be flushed if capability count decreased with setNumCapabitilies

GHC ghc-devs at haskell.org
Sat Jun 17 01:06:42 UTC 2017


#13836: Some event log events won't be flushed if capability count decreased with
setNumCapabitilies
-------------------------------------+-------------------------------------
        Reporter:  bgamari           |                Owner:  (none)
            Type:  bug               |               Status:  patch
        Priority:  normal            |            Milestone:
       Component:  Runtime System    |              Version:  8.0.1
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):  Phab:D3654
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by duog):

 I'm probably missing something, but by my reading of setNumCapabilities in
 Shedule.c, n_capabilities can never decrease. If the number of
 capabilities decreases, enabled_capabilities is used to disable
 capabiltities. If that is true, then I don't think this can ever happen?

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/13836#comment:2>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list