[racket] FFI/3m and Boehm GC compatibility
Matthew Flatt wrote:
> At Mon, 16 Jul 2012 17:33:23 +0100, Tim Brown wrote:
>> In any case, I will need to invisibleise the pointer when it is no
>> longer in use by racket (i.e. "legitimately" collectable). What would be
>> the best way/hook to detect the pointers' end-of-life?
>
> Probably `register-finalizer'.
Thanks, Matthew.
Tim
--
Tim Brown <tim.brown at cityc.co.uk> | City Computing Limited |
T: +44 20 8770 2110 | City House, Sutton Park Road |
F: +44 20 8770 2130 | Sutton, Surrey, SM1 2AE, GB |
-----------------------------------------------------------------------|
BEAUTY: What's in your eye when you have a bee in your hand |
-----------------------------------------------------------------------'
City Computing Limited registered in London No. 1767817.
Registered Office: City House, Sutton Park Road, Sutton, Surrey, SM1 2AE
VAT number 372 8290 34.