1.0.4.39: get rid of hardcoded mutex and spinlock slot indexes
commit085501b44cc1cbdd9e260139d30b383372ddd1b8
authorNikodemus Siivola <nikodemus@random-state.net>
Sat, 7 Apr 2007 13:58:57 +0000 (7 13:58 +0000)
committerNikodemus Siivola <nikodemus@random-state.net>
Sat, 7 Apr 2007 13:58:57 +0000 (7 13:58 +0000)
tree61c724faf819bbf9fe20ccff9721023b9003d663
parentdaaff592d224c1a66d079480c02c9c6dc9e11ab2
1.0.4.39: get rid of hardcoded mutex and spinlock slot indexes

 * DEFINE-STRUCTURE-SLOT-COMPARE-AND-EXCHANGE can be used to define
   nice wrappers for %INSTANCE-SLOT-CONDITIONAL using just the
   structure and slot name.

   Note to self: it would probably make sense to give something along
   these lines for users to use as well, so that they can implement
   lockless algorithms in lisp.

 * DEFINE-STRUCTURE-SLOT-ADDRESSOR does the same for getting the
   slot address.

 * SB-PCL::GET-STRUCTURE-DD moved to host and renamed
   SB-KERNEL:FIND-DEFSTRUCT-DESCRIPTION.

 * SB-THREAD now uses SB-KERNEL.

 (threads.impure.lisp currently fail, but not due to this)
package-data-list.lisp-expr
src/code/defstruct.lisp
src/code/target-defstruct.lisp
src/code/target-thread.lisp
src/pcl/env.lisp
src/pcl/low.lisp
src/pcl/std-class.lisp
version.lisp-expr