Allow module to compile

This commit is contained in:
Justin Ethier 2015-12-20 00:31:50 -05:00
parent 00210623d7
commit aad3cebd7a

View file

@ -9,7 +9,7 @@
thread-specific-set! thread-specific-set!
thread-start! thread-start!
thread-yield! thread-yield!
thread-terminate! ; thread-terminate!
;; END threads ;; END threads
; TODO: need filter for the next two. also, they really belong in SRFI-1, not here ; TODO: need filter for the next two. also, they really belong in SRFI-1, not here
;delete ;delete
@ -685,6 +685,6 @@
(mutator-id (Cyc-spawn-thread! thunk))) (mutator-id (Cyc-spawn-thread! thunk)))
(vector-set! t 2 mutator-id))) (vector-set! t 2 mutator-id)))
(define (thread-yield!) (thread-sleep! 1)) (define (thread-yield!) (thread-sleep! 1))
(define (thread-terminate!) (Cyc-end-thread!)) ; (define (thread-terminate!) (Cyc-end-thread!))
;; TODO: thread-join! ;; TODO: thread-join!
)) ))