mirror of
https://github.com/justinethier/cyclone.git
synced 2025-07-17 01:37:34 +02:00
WIP
This commit is contained in:
parent
c6f532d8e1
commit
827dd711c1
1 changed files with 9 additions and 0 deletions
|
@ -26,6 +26,15 @@
|
||||||
(define (future-call thunk)
|
(define (future-call thunk)
|
||||||
(let ((ftr (vector *future-sym* 'todo)))
|
(let ((ftr (vector *future-sym* 'todo)))
|
||||||
;; TODO: setup and call the thread here
|
;; TODO: setup and call the thread here
|
||||||
|
|
||||||
|
;; Sketching out what is needed:
|
||||||
|
;;(define (sum-entry-pt)
|
||||||
|
;; (sum-loop (* 100 100 100)))
|
||||||
|
;;
|
||||||
|
;;;; Thread - Do something, then let main thread know when we are done
|
||||||
|
;;(define t9 (make-thread sum-entry-pt))
|
||||||
|
;;(thread-start! t1)
|
||||||
|
|
||||||
ftr))
|
ftr))
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue