Anonymous user
Concurrent computing: Difference between revisions
Corrected syntax to compile with Nim 1.4
m (→{{header|Pascal}}: must be interlocked inc/decrement tse tse tse) |
(Corrected syntax to compile with Nim 1.4) |
||
Line 1,306:
const str = ["Enjoy", "Rosetta", "Code"]
proc f(i: int) {.thread.} =
echo str[i]
|