]> Nishi Git Mirror - gwion.git/commitdiff
:art: Test shred
authorfennecdjay <astor.jeremie@wanadoo.fr>
Fri, 11 Oct 2019 00:08:48 +0000 (02:08 +0200)
committerfennecdjay <astor.jeremie@wanadoo.fr>
Fri, 11 Oct 2019 00:08:48 +0000 (02:08 +0200)
tests/tree/fork_clean.gw [new file with mode: 0644]
tests/tree/fork_join.gw [new file with mode: 0644]

diff --git a/tests/tree/fork_clean.gw b/tests/tree/fork_clean.gw
new file mode 100644 (file)
index 0000000..4e6877b
--- /dev/null
@@ -0,0 +1 @@
+fork { <<< __func__ >>>; second => now; };
diff --git a/tests/tree/fork_join.gw b/tests/tree/fork_join.gw
new file mode 100644 (file)
index 0000000..9b43df2
--- /dev/null
@@ -0,0 +1,5 @@
+fork { <<< __func__ >>>; hour => now; };#! @=> Fork @f;
+#!fork me.id() @=> Fork @f;
+#!spork { <<< __func__ >>>; } @=> Shred @s;
+#!second => now;
+#!f.join();