• Bug#265981: sbcl: waitqueues notified on garbage collection

    From Michael Campbell@1:229/2 to All on Mon Aug 16 05:10:07 2004
    From: [email protected]

    Package: sbcl
    Version: 0.8.21+truly.0.8.13.62-1
    Severity: normal



    (use-package :sb-thread)

    (let* ((lock (make-mutex))
    (queue (make-waitqueue :lock lock)))
    (loop
    (make-thread (lambda ()
    (condition-wait queue lock)
    (print "shouldn't get here")))
    (gc)
    (sleep 1)))


    ;; ...will repeatedly execute the print statement every time (gc) is
    ;; called. remove the call to (gc) and it won't, as you would expect.


    -- System Information:
    Debian Release: 3.1
    APT prefers testing
    APT policy: (990, 'testing'), (500, 'unstable')
    Architecture: i386 (i686)
    Kernel: Linux 2.6.7
    Locale: LANG=C, LC_CTYPE=C

    Versions of packages sbcl depends on:
    ii common-lisp-controller 4.8 This is a Common Lisp source and c ii libc6 2.3.2.ds1-13 GNU C Library: Shared libraries an

    -- debconf information:
    * sbcl/auto-build: Yes


    --
    To UNSUBSCRIBE, email to [email protected]
    with a subject of "unsubscribe". Trouble? Contact [email protected]

    --- SoupGate-Win32 v1.05
    * Origin: you cannot sedate... all the things you hate (1:229/2)