Hi,

what is the difference between

    (join-thread (begin-thread (foo)))

and

    (future-ref (future (foo)))

I am thinking about implementing futures as just

    (define-macro (future exp) `(begin-thread ,exp))
    (define future-ref join-thread)

Would that make sense?


_______________________________________________
Guile-devel mailing list
Guile-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/guile-devel

Reply via email to