Ticket #316: library.diff

File library.diff, 951 bytes (added by felix winkelmann, 14 years ago)

also needed

  • library.scm

    diff --git a/library.scm b/library.scm
    index 26662c5..e3ab347 100644
    a b EOF 
    39173926   q                                    ; #9 quantum
    39183927   (##core#undefined)                   ; #10 specific
    39193928   #f                                   ; #11 block object (type depends on blocking type)
    3920    '()                                  ; #12 recipients (currently unused)
     3929   '()                                  ; #12 recipients
    39213930   #f) )                                ; #13 unblocked by timeout?
    39223931
    39233932(define ##sys#primordial-thread (##sys#make-thread #f 'running 'primordial ##sys#default-thread-quantum))
    EOF 
    39333942   #f                                   ; #5 locked
    39343943   (##core#undefined) ) )               ; #6 specific
    39353944
    3936 (define (##sys#abandon-mutexes thread)
    3937   (let ([ms (##sys#slot thread 8)])
    3938     (unless (null? ms)
    3939       (##sys#for-each
    3940        (lambda (m)
    3941          (##sys#setislot m 2 #f)
    3942          (##sys#setislot m 4 #t)
    3943          (##sys#setislot m 5 #f)
    3944          (##sys#setislot m 3 '()) )
    3945        ms) ) ) )
    3946 
    39473945(define (##sys#schedule) ((##sys#slot ##sys#current-thread 1)))
    39483946
    39493947(define (##sys#thread-yield!)