[GHC] #13554: Allow the user to provide a C function that is called on each thread the RTS creates before running any Haskell code
GHC
ghc-devs at haskell.org
Tue Apr 25 21:16:02 UTC 2017
#13554: Allow the user to provide a C function that is called on each thread the
RTS creates before running any Haskell code
-------------------------------------+-------------------------------------
Reporter: dobenour | Owner: (none)
Type: feature request | Status: new
Priority: normal | Milestone: 8.4.1
Component: Runtime System | Version: 8.0.1
Resolution: | Keywords:
Operating System: Unknown/Multiple | Architecture:
| Unknown/Multiple
Type of failure: None/Unknown | Test Case:
Blocked By: | Blocking:
Related Tickets: | Differential Rev(s):
Wiki Page: |
-------------------------------------+-------------------------------------
Comment (by bgamari):
Also, it seems that MySQL requires that you call `mysql_thread_end` on
thread termination. We would probably also need a callback for this.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/13554#comment:3>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list