Hi folks!

I'm just starting to look at the channel egg and its nifty API. I've
encoutered some behaviour that I think is a little odd:

(let ((c (make-channel)))
  (close-channel c)
  (channel-receive c))

The code snippet above hangs forever. I would expect channel-receive to
return immediately with its default thunk (#f).

Is this intentional?
K.
_______________________________________________
Chicken-users mailing list
Chicken-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/chicken-users

Reply via email to