Search found 1 match

by lamseydaivy
Wed Mar 13, 2019 11:10 pm
Forum: Common Lisp
Topic: Accessing the result of a Bordeaux Thread bt:make-thread cal
Replies: 1
Views: 16365

Accessing the result of a Bordeaux Thread bt:make-thread cal

In SBCL, how can you access the RESULT slot of a completed thread? The slot-value of an instance does not seem to work: * (defparameter th (bt:make-thread (lambda () (LOOP FOR I FROM 1 TO 1000000 SUM (* I I))))) TH * (describe th) #<SB-THREAD:THREAD "Anonymous thread" FINISHED values: 3333...