Tier Three: Added threads/jobs

This commit is contained in:
allexanderbergmns
2026-08-25 17:26:07 +02:00
parent d11f9c8d37
commit 415dec40a2
24 changed files with 495 additions and 47 deletions
+2 -2
View File
@@ -2,7 +2,7 @@
// Run with: vr run examples/arrays.vr
fn sum(items) {
let total = 0
mut total = 0
for x in items {
total = total + x
}
@@ -79,7 +79,7 @@ fn main() {
println("")
// find the first even number in an array
let found = -1
mut found = -1
for x in a {
if x % 2 == 0 {
found = x