[email protected]
[Top] [All Lists]

Re: [Haskell-cafe] getting data through foreign layer without marshallin

Subject: Re: [Haskell-cafe] getting data through foreign layer without marshalling
From: Bulat Ziganshin
Date: Mon, 14 Dec 2009 11:39:26 +0300
Hello Donn,

Monday, December 14, 2009, 4:31:58 AM, you wrote:

> I'm just not sure where AppData lives while it's referenced in a
> FunPtr via partial application, if there might be multiple copies, etc.

GHC RTS creates thunk with this partial call. this thunk references
all the data used in computation. The thunk is placed in global
objects table and removed from the table when you perform freeHaskellFunPtr

-- 
Best regards,
 Bulat                            mailto:[email protected]

_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe

<Prev in Thread] Current Thread [Next in Thread>