Multiton: Difference between revisions

m
→‎{{header|Wren}}: Correction to preamble.
(Created new draft task, Multiton, and added a Wren solution.)
 
m (→‎{{header|Wren}}: Correction to preamble.)
Line 15:
=={{header|Wren}}==
{{libheader|Wren-dynamic}}
This more or less follows the lines of the JavaC# example in the linked Wikipedia article.
 
Although all Wren code runs within the context of a fiber (of which there can be thousands) only one fiber can run at a time and so the language is effectively single threaded. Thread-safety is therefore never an issue.
9,479

edits