Rendezvous: Difference between revisions

Content added Content deleted
Line 794: Line 794:


=={{header|Julia}}==
=={{header|Julia}}==
Julia has coroutines started with the @async macro and Channels, which can be used for interprocess communication, such as passing lines to and errors from a printing routine.
<lang julia>using Distributed
<lang julia>mutable struct Printer

mutable struct Printer
inputpath::Channel{String}
inputpath::Channel{String}
errorpath::Channel{String}
errorpath::Channel{String}