
#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): I"ll repeat, you can get the behavior you want with forkOS and finalizers http://www.haskell.org/ghc/docs/latest/html/libraries/base-4.7.0.1 /Foreign-ForeignPtr.html and http://www.haskell.org/ghc/docs/latest/html/libraries/base-4.7.0.1 /Control-Concurrent.html if you wish to have some help getting the design you want, please ask on #haskell on irc freenode, haskell-cafe mailing list, or the haskell reddit. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/9656#comment:3 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler