[GHC] #11403: Provide a way to make fast in-calls into Haskell

#11403: Provide a way to make fast in-calls into Haskell -------------------------------------+------------------------------------- Reporter: dobenour | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 7.10.3 Keywords: | Operating System: Unknown/Multiple Architecture: | Type of failure: None/Unknown Unknown/Multiple | Test Case: | Blocked By: Blocking: | Related Tickets: Differential Rev(s): | Wiki Page: -------------------------------------+------------------------------------- Currently, there is no way to call into Haskell without creating a new Haskell thread and running the schedular, which is rather slow. It would be nice to be able to make faster calls into Haskell, even if some state had to be persisted on the C side and passed to the RTS each time. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/11403 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#11403: Provide a way to make fast in-calls into Haskell -------------------------------------+------------------------------------- Reporter: dobenour | Owner: Type: feature request | Status: new Priority: normal | Milestone: Component: Runtime System | Version: 7.10.3 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: | -------------------------------------+------------------------------------- Changes (by dobenour): * cc: simonmar (added) * component: Compiler => Runtime System * type: bug => feature request -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/11403#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#11403: Provide a way to make fast in-calls into Haskell -------------------------------------+------------------------------------- Reporter: dobenour | Owner: Type: feature request | Status: closed Priority: normal | Milestone: 8.2.1 Component: Runtime System | Version: 7.10.3 Resolution: fixed | 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: | -------------------------------------+------------------------------------- Changes (by simonmar): * status: new => closed * resolution: => fixed * milestone: => 8.2.1 Comment: We now have a way to call `tryPutMVar()` from C without creating a new Haskell thread: https://phabricator.haskell.org/rGHC454033b54e2f7eef2354cc9d7ae7e7cba4dff09a I think this is the best we can do here, so I'll close the ticket. Feel free to re-open if this doesn't work for your use case. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/11403#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC