Accessing DestroyNotify property of generics
Submitted by Maciej Marcin Piechotka
While the Vala-provided GC is proper way of handling garbage collection it is not always possible. For example reference counting in lock-free data structures requires primitives not-widely avaible such as DCAS.
It means that in some cases other methods are needed to cover such edge cases. Unfortunatly it requires access to destroy notify to properly release resources.