Skip to content

Commit

Permalink
EXAMPLES: Making nasty comment about FUTURE-SELECT
Browse files Browse the repository at this point in the history
  • Loading branch information
zkat committed Oct 12, 2009
1 parent ab6daa0 commit 76661e5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions examples/futures.lisp
Expand Up @@ -62,6 +62,7 @@ that function. INITIAL-BINDINGS may be provided to create dynamic bindings insid
then returns that future."
;; This is an improvement. However, we should try to find some way of not "thrashing". - Adlai
(setf futures (sort futures (lambda (a b) a b (zerop (random 2)))))
;; This is incorrect. SEND/RECV-BLOCKS-P should not be used outside of the internals. - syko
(loop for future = (find-if 'send-blocks-p futures :key 'future-channel)
when future return future))

Expand Down

0 comments on commit 76661e5

Please sign in to comment.