[cl-stm-devel] Example code

Faré fahree at gmail.com
Wed Jun 14 10:06:54 UTC 2006


On 14/06/06, Hoan Ton-That <hoan at ton-that.org> wrote:
> Hey again,
>
> Here is a little example of CL-STM in action.

(1) Doesn't having to acquire a global lock defeat the purpose of
so-called lightweight transaction commits and just open the system to
live-locks? (Certainly locks can be detected by a monitor, but the
locking needed to properly update dependency meta-information in
presence of the monitor only shuffles around the complexity of
dependency information maintenance.)

(2) A minor non-urgent style issue: wouldn't it be nice to use a
regular MOP-enabled defclass with a proper metaclass (or metaclass
mixin) rather than use a special purpose deftransactional-class? Are
other people on this list familiar with the MOP, and what do they
think of it?

[ François-René ÐVB Rideau | Reflection&Cybernethics | http://fare.tunes.org ]
No man would listen to you talk if he didn't know it was his turn next.
               -- Edgar Watson Howe



More information about the Cl-stm-devel mailing list