[Mono-dev] Reference queue

Rodrigo Kumpera kumpera at gmail.com
Mon Jan 23 23:13:32 UTC 2012


We've thought about exporting such interface, but the maintenance burden
made us back off.

This interface has some short-coming and exposing it to managed code
has it's problems. For example, it doesn't support unregistering.

But, if you make your case on why such a feature would help you, I
can look into it.



2012/1/23 "Konrad M. Kruczyński" <konrad.kruczynski at gmail.com>

> Hi,
> I've just noticed that runtime offers mono_gc_reference_queue_new
> function, which can be used to register callback executed after
> object is collected.
>
> Is there a possibility of exporting this functionality to class library
> to have it available from C# code? (Mono.Runtime or sth like that).
>
> Btw, I would also like to bump on my thread "Stopwatch's frequency" at
> which no one responded.
>
> --
> Regards,
>  Konrad
> ______________________________**_________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.**com <Mono-devel-list at lists.ximian.com>
> http://lists.ximian.com/**mailman/listinfo/mono-devel-**list<http://lists.ximian.com/mailman/listinfo/mono-devel-list>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/mono-devel-list/attachments/20120123/692a5b5a/attachment.html>


More information about the Mono-devel-list mailing list