mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-13 07:23:39 +00:00
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:
committed by
Ron Evans
parent
8890a0f3c8
commit
b7197bcaae
Vendored
+7
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user