0.9.18.62:
authorCyrus Harmon <ch-sbcl@bobobeach.com>
Mon, 20 Nov 2006 04:51:37 +0000 (04:51 +0000)
committerCyrus Harmon <ch-sbcl@bobobeach.com>
Mon, 20 Nov 2006 04:51:37 +0000 (04:51 +0000)
commitb6537fc9d37ad800f8faba89ebbde7fdf8910d2a
tree0b2a31143b8a28c983d4a9fe9888326c207e53cc
parent4e6200853a661da5e73d0843a4afca9077a06fa8
0.9.18.62:
    FreeBSD threads fixes, based on the patches from NIIMI Satoshi
    on the sbcl-devel mailing list. This makes FreeBSD threads "work",
    finally, at least experimentally.

    * added lutex_trylock routine.
    * fix the sb-lutex and (not wait-p) case of get-lutex.
    * add pthred_mutexattr_t field to the lutex lisp object.
    * use libthr (1:1 threading) instead of libpthread (m:n threading)
      which supposedly doesn't work.
    * use PTHREAD_MUTEX_ERRORCHECK when attribute locking mutexes
    * create a dedicated cleanup thread to free threads
    * put a mutex around creating threads
    * use load_fs instead of the inline asm stubs
src/code/target-thread.lisp
src/compiler/generic/objdef.lisp
src/runtime/Config.x86-freebsd
src/runtime/pthread-lutex.c
src/runtime/thread.c
src/runtime/thread.h
src/runtime/x86-bsd-os.c
src/runtime/x86-bsd-os.h
tests/threads.impure.lisp
version.lisp-expr