Formatting

This commit is contained in:
Justin Ethier 2016-01-18 22:43:30 -05:00
parent 76bbca68e5
commit 1a3d88f999

View file

@ -64,8 +64,10 @@
(define (thread-name t) (vector-ref t 3))
(define (thread-specific t) (vector-ref t 4))
(define (thread-specific-set! t obj) (vector-set! t 4 obj))
; TODO:
; current-thread - not sure how to look this up yet... may need a global list of running threads
; TODO:
; current-thread - not sure how to look this up yet... may need a global list of running threads. Unfortunately need the vector here
(define (thread-start! t)
;; Initiate a GC prior to running the thread, in case
;; t contains any closures on the "parent" thread's stack