Rendezvous: Difference between revisions
Content added Content deleted
Thundergnat (talk | contribs) m (syntax highlighting fixup automation) |
m (→{{header|Wren}}: Changed to Wren S/H) |
||
Line 1,875: | Line 1,875: | ||
=={{header|Wren}}== |
=={{header|Wren}}== |
||
This uses fibers, which are always synchronous in Wren, to simulate the rendezvous mechanism. |
This uses fibers, which are always synchronous in Wren, to simulate the rendezvous mechanism. |
||
<syntaxhighlight lang=" |
<syntaxhighlight lang="wren">class Printer { |
||
construct new(id, ink) { |
construct new(id, ink) { |
||
_id = id |
_id = id |