tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Adding threading support to lang/sbcl



I've flipped it on, added pthread bl3, and ran the test suite. It
fails, as was stated earlier. However, looking at the test code I
found this comment in the failed test:

=== tests/gethash-concurrency.pure.lisp:29-38 ===
(with-test (:name (hash-table :unsynchronized)
                  ;; FIXME: This test occasionally eats out craploads
                  ;; of heap instead of expected error early. Not 100%
                  ;; sure if it would finish as expected, but since it
                  ;; hits swap on my system I'm not likely to find out
                  ;; soon. Disabling for now. -- nikodemus
            :broken-on :sbcl)
  ;; We expect a (probable) error here: parellel readers and writers
  ;; on a hash-table are not expected to work -- but we also don't
  ;; expect this to corrupt the image.
=== end ===

Seems to me that upstream know it'll fail. I haven't test it on any
other operating systems, however.


I've also spun up a little HTTP server using clack, which requires
bordeux-threads and it appears to work. I haven't done anything
directly with threads to know 100% but this might be appearing to
be okay. I'll keep searching!

kev


Home | Main Index | Thread Index | Old Index