X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fcompiler%2Fgeneric%2Fobjdef.lisp;h=5bfa3bcd2802aaf793d39dbc7bd7386c12ba3488;hb=d6f9676ae94419cb5544c45821a8d31adbc1fbe8;hp=79c905162667034485078eb9ee94a14479700f89;hpb=c86681a2f572eb2181c0dd6d2e0b0d4486df1dff;p=sbcl.git diff --git a/src/compiler/generic/objdef.lisp b/src/compiler/generic/objdef.lisp index 79c9051..5bfa3bc 100644 --- a/src/compiler/generic/objdef.lisp +++ b/src/compiler/generic/objdef.lisp @@ -356,22 +356,6 @@ (real :c-type "double" :length #!-x86-64 2 #!+x86-64 1) (imag :c-type "double" :length #!-x86-64 2 #!+x86-64 1)) -#!+(and sb-lutex sb-thread) -(define-primitive-object (lutex - :lowtag other-pointer-lowtag - :widetag lutex-widetag - :alloc-trans %make-lutex) - (gen :c-type "long" :length 1) - (live :c-type "long" :length 1) - (next :c-type "struct lutex *" :length 1) - (prev :c-type "struct lutex *" :length 1) - (mutex :c-type "pthread_mutex_t *" - :length 1) - (mutexattr :c-type "pthread_mutexattr_t *" - :length 1) - (condition-variable :c-type "pthread_cond_t *" - :length 1)) - ;;; this isn't actually a lisp object at all, it's a c structure that lives ;;; in c-land. However, we need sight of so many parts of it from Lisp that ;;; it makes sense to define it here anyway, so that the GENESIS machinery