compiler,runtime: implement non-blocking selects

Blocking selects are much more complicated, so let's do non-blocking
ones first.
This commit is contained in:
Ayke van Laethem
2019-06-08 19:21:29 +02:00
committed by Ron Evans
parent 8890a0f3c8
commit b7197bcaae
5 changed files with 291 additions and 25 deletions
+7
View File
@@ -23,3 +23,10 @@ sum(100): 4950
deadlocking
select no-op
after no-op
select one sent
sum: 5
select one n: 0
select n from chan: 55
select n from closed chan: 0
select send
sum: 235