Sven Panne <[EMAIL PROTECTED]> writes: > [...] > > Aaaah! *lights going on* But then I suggest that foreign export > dynamic should be changed to return a stable pointer instead > of an Addr. This shouldn't break too much code, because both > are CCallable. > I don't see the need, since (deep breath) freeHaskellFunctionPtr() drops the stable pointer for you when passed the Addr that f.e.d. returns. That RTS entry point doesn't have a Haskell wrapper at the moment, so you'll have to 'foreign import' to use it (or _ccall_ it, as we did in the olden days ;) --sigbjorn
- Q: Threads in GHC's RTS Manuel M. T. Chakravarty
- Re: Threads in GHC's RTS Herbert Graeber
- Re: Q: Threads in GHC's RTS Sven Panne
- Re: Q: Threads in GHC's RTS Manuel M. T. Chakravarty
- RE: Q: Threads in GHC's RTS Simon Peyton-Jones
- Re: Q: Threads in GHC's RTS Sven Panne
- Re: Q: Threads in GHC's RTS Sigbjorn Finne (Intl Vendor)
- Re: Q: Threads in GHC's RTS Sven Panne
- RE: Q: Threads in GHC's RTS Simon Marlow
- RE: Q: Threads in GHC's RTS Simon Marlow
- RE: Q: Threads in GHC's RTS Sigbjorn Finne (Intl Vendor)
- RE: Q: Threads in GHC's RTS Simon Peyton-Jones
- RE: Q: Threads in GHC's RTS Sigbjorn Finne (Intl Vendor)
- Re: Q: Threads in GHC's RTS Sven Panne
- RE: Q: Threads in GHC's RTS Simon Peyton-Jones
- Re: Q: Threads in GHC's RTS Sven Panne