From: Nikodemus S. <nik...@ra...> - 2007-04-07 12:38:27
|
I'm going to commit pretty soon something to get rid of hardcoded slot indexes in target-thread.lisp: DEFINE-STRUCTURE-SLOT-COMPARE-AND-EXCHANGE This is well enough for our internal needs, but it just dawned to me that it would be nice to support CMPXCHG semantics for users too (how else are they supposed to implement lockless algorithms in Lisp?) Any ideas what such an interface should / could look like? Cheers, -- Nikodemus |