[GHC] #7612: Automatically start the haskell runtime in DllMain on windows -shared

GHC cvs-ghc at haskell.org
Thu Jan 31 09:24:06 CET 2013


#7612: Automatically start the haskell runtime in DllMain on windows -shared
------------------------------+---------------------------------------------
  Reporter:  schyler          |          Owner:                  
      Type:  feature request  |         Status:  infoneeded      
  Priority:  normal           |      Milestone:                  
 Component:  Compiler         |        Version:  7.6.1           
Resolution:                   |       Keywords:                  
        Os:  Windows          |   Architecture:  Unknown/Multiple
   Failure:  None/Unknown     |     Difficulty:  Unknown         
  Testcase:                   |      Blockedby:                  
  Blocking:                   |        Related:                  
------------------------------+---------------------------------------------
Changes (by simonmar):

  * status:  new => infoneeded


Comment:

 I'll move the ticket into the infoneeded state, but I think you'll find
 that `hs_init` touches a lot of code (including creating threads), so it's
 not feasible to make it safe to use from `DllMain`.

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



More information about the ghc-tickets mailing list