
#9656: Process and thread init/deinit hooks for C libraries -------------------------------------+------------------------------------- Reporter: 3noch | Owner: Type: feature | Status: closed request | Milestone: Priority: normal | Version: 7.8.3 Component: Compiler | Keywords: FFI Resolution: invalid | Architecture: Unknown/Multiple Operating System: | Difficulty: Unknown Unknown/Multiple | Blocked By: Type of failure: | Related Tickets: None/Unknown | Test Case: | Blocking: | Differential Revisions: | -------------------------------------+------------------------------------- Comment (by carter): Note that because ghc threads (aside from forkOS threads) aren't bound to specific OS threads, you'll have to do some intermediating the calls via the bound thread. But these are thing which folks on haskell-cafe and those other fora will be more than able to help you with -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/9656#comment:5 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler