On Dec 18, 11:30 pm, Randall R Schulz <rsch...@sonic.net> wrote:
> On Thursday 18 December 2008 13:33, Stephan Mühlstrasser wrote:
>
>
> Nothing fancy:
>
> (defn cat-stream
> ....
>   (.flush *out*)))
>

As Chouser pointed out, the flush is the important ingredient.

After thinking a while about this, I'm wondering why it is necessary.
The output stream should be flushed automatically when the program
exits, but it looks like with Java and threads this is different.

Regards
Stephan
--~--~---------~--~----~------------~-------~--~----~
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
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to