t x, these change you suggest are almost exactly what we have done in the
"put ret" branch. I merged these changes into master this morning, and
would be interested in your feedback. Within a few hours these changes
should be available via the 0.1.0-SNAPSHOT version of core.async, or via
downloading the core.async source and doing "lein install" from the
directory.

I just sent an email to this mailing list that explains these changes and
the updated semantics.

I hope this helps,

Timothy Baldridge


On Thu, Jan 23, 2014 at 5:53 AM, Meikel Brandmeyer (kotarak) 
<m...@kotka.de>wrote:

> Hi,
>
> there is only one reason I can imagine to close a channel: the one in
> charge determined that there is not more input. And the one in charge is
> either the producing side, or a kind of supervisor. In the latter case a
> separate way of communication is needed to inform the sender, that they
> should stop sending. This could be done via the channel. Or something
> completely separate.
>
> I haven't used core.async much. I'm trying to understand myself what
> useful patterns are. Do you have a simple use case, where the pattern you
> describe (a supervisor closes an input channel without notifying senders
> about it) is the most straight-forward way?
>
> (All that doesn't mean that core.async couldn't be modified as you
> suggest.)
>
> Meikel
>
> --
> --
> You received this message because you are subscribed to the Google
> Groups "Clojure" group.
> To post to this group, send email to clojure@googlegroups.com
> Note that posts from new members are moderated - please be patient with
> your first post.
> To unsubscribe from this group, send email to
> clojure+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/clojure?hl=en
> ---
> You received this message because you are subscribed to the Google Groups
> "Clojure" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to clojure+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>



-- 
"One of the main causes of the fall of the Roman Empire was that-lacking
zero-they had no way to indicate successful termination of their C
programs."
(Robert Firth)

-- 
-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to