Changes between Version 11 and Version 12 of BlockObjects
- Timestamp:
- 08/12/11 22:57:54 (23 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
BlockObjects
v11 v12 62 62 == Storage management == 63 63 64 '''TODO:''' How do we recover a Haskell function's storage once ithas been turned into a block object and passed to a C function? (NB: the environment of the function may hold on to large data structures, which will only be freed once the function is freed.)64 '''TODO:''' How do we recover a Haskell function's storage once the function has been turned into a block object and passed to a C function? (NB: the environment of the function may hold on to large data structures, which will only be freed once the function is freed.) 65 65 66 66 When we marshal a C block object into a Haskell function, we need to ensure that the Haskell storage manager releases the block object (with `Block_release()`) once the Haskell land function becomes unreachable in the Haskell heap.
