#5088: TextEncoding iconv instances are shared between threads
-----------------------------------------+----------------------------------
 Reporter:  batterseapower               |          Owner:                  
     Type:  bug                          |         Status:  closed          
 Priority:  normal                       |      Component:  libraries/base  
  Version:  7.0.3                        |     Resolution:  invalid         
 Keywords:                               |       Testcase:                  
Blockedby:                               |             Os:  Unknown/Multiple
 Blocking:                               |   Architecture:  Unknown/Multiple
  Failure:  Incorrect result at runtime  |  
-----------------------------------------+----------------------------------
Changes (by batterseapower):

  * status:  new => closed
  * resolution:  => invalid


Comment:

 I documented the invariants on these things in 54a0b49. Current usage is
 safe because Handle__ is protected by a MVar, and in my (uncommitted)
 CString code the decoder/encoder only exist for the lifetime of a stack
 frame.

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

_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to