MPS issue job000462

TitlePoolAWL only works for Dylan objects.
Statusclosed
Priorityessential
Assigned userNick Barnes
OrganizationRavenbrook
DescriptionPoolAWL (automatic weak linked) has functionality which could be useful for a wide range of clients, but it currently has a dependency on the Dylan format (in fact, it includes code which explicitly knows about Dylan-format objects).
This is a shame, because otherwise PoolAWL is a good pool for Configura's weak tables.
AnalysisThe Dylan dependency is that each object in an AWL pool may have a dependent object, which may be updated by the format's scan method when the object is scanned. The location of this dependent object is currently part of the Dylan format: the function AWLDependentObject finds it.
A simple fix is that to require an argument to mps_pool_create for AWL pools which is a function which locates the dependent object of an object in this pool.
How foundcustomer
Created byNick Barnes
Created on2002-02-15 14:56:44
Last modified byGareth Rees
Last modified on2012-10-25 23:20:32
History2002-02-15 NB Created.

Fixes

Change Effect Date User Description
26743 closed 2002-02-15 15:06:29 Nick Barnes move AWLDependentObject function out into the Dylan format.
26536 closed 2002-02-07 22:48:09 Nick Barnes PoolAWL now takes an additional argument: the find_dependent_object method.