[GHC] #14810: Define MVar "This function is atomic only if there are no other producers for this MVar."

GHC ghc-devs at haskell.org
Wed Feb 14 12:48:15 UTC 2018


#14810: Define MVar "This function is atomic only if there are no other producers
for this MVar."
-------------------------------------+-------------------------------------
           Reporter:  akfp           |             Owner:  (none)
               Type:  bug            |            Status:  new
           Priority:  normal         |         Milestone:
          Component:                 |           Version:  8.2.2
  libraries/base                     |
           Keywords:                 |  Operating System:  Unknown/Multiple
       Architecture:                 |   Type of failure:  Documentation
  Unknown/Multiple                   |  bug
          Test Case:                 |        Blocked By:
           Blocking:                 |   Related Tickets:
Differential Rev(s):                 |         Wiki Page:
-------------------------------------+-------------------------------------
 The sentence:

 This function is atomic only if there are no other producers for this
 MVar.

 Is repeated lots of times in the Control.Concurrent.MVar documentation.

 However, there is no definition of what "producers for an MVar" means.

 There needs to be a definition of producer (and consumer I guess).

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


More information about the ghc-tickets mailing list