Closed oovm closed 2 years ago
In my using case, I need certain objects to hold a reference to itself, and I need a convenient api to create such objects.
May refer to: Arc::new_cyclic
I'm looking into this. Seems slightly tricky, but doable if we start the Gc in a deallocated state. Just need to be careful not to create potential data races
See #70
In my using case, I need certain objects to hold a reference to itself, and I need a convenient api to create such objects.
May refer to: Arc::new_cyclic