|parrotcode: Shared PMC Reference|
|Contents | PMCs|
src/pmc/sharedref.pmc - Shared PMC Reference
The vtable functions for the SharedRef base class.
This class wraps locking around PMC access.
All methods not present below get a default body autogenerated inside
Currently all access is locked. When we have a non-copying GC allocator we can relax that a bit.
void init_pmc(PMC *init)
share()on the aggregate, which calls
share()on its contents - so getting aggregate members only yields shared PMCs
SharedRefis currently not enabled so we shouldn't leak unshared PMCs into different threads.
void init_pmc_props(PMC *init, PMC *props)
void set_pmc(PMC *other)
Initial revision by leo 2004.01.14.