Skip to content
Snippets Groups Projects
Commit 04b9cc5e authored by Florian Schmaus's avatar Florian Schmaus
Browse files

[README] Fibirl uses spawn/sync as keywords (and no longer fork/join)

parent 09dd71d7
No related branches found
No related tags found
No related merge requests found
Pipeline #83979 passed
......@@ -24,11 +24,11 @@ emper_fibril auto fib(int n) -> int {
Fibril fibril;
int a, b;
fibril.fork(&a, fib, n - 1);
fibril.spawn(&a, fib, n - 1);
b = fib(n - 2);
fibril.join();
fibril.sync();
return a + b;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment