From: Thomas F. B. <tbu...@gm...> - 2010-04-16 08:04:00
|
2010/4/15 Tobias C. Rittweiler <tc...@fr...>: > It -may- make sense to allow subclassing LOCK (structures-are-classes, > where are thou?), and make the expansion of WITH-LOCK to a > CALL-WITH-LOCK function call explicit. > > I often see WITH-FOO-LOCKED macros which could be written by an :AROUND > method on CALL-WITH-LOCK on a FOO-LOCK class. Doing it that way purports > to (perhaps arguably!) be TRT. Perhaps I'm missing something, but why can't you do that now? No MI of course, but I'd think single inheritance would be enough for all but the most exotic uses. |