Skip to content
Snippets Groups Projects

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

Merged Florian Schmaus requested to merge flow/emper:improve-readme into master
1 file
+ 2
2
Compare changes
  • Side-by-side
  • Inline
+ 2
2
@@ -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;
}
Loading