mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-17 19:23:25 +00:00
testdata, sync: add sync.Mutex test to testdata/coroutines.go
This commit is contained in:
Vendored
+6
@@ -14,3 +14,9 @@ async interface method call
|
||||
slept inside func pointer 8
|
||||
slept inside closure, with value: 20 8
|
||||
closure go call result: 1
|
||||
pre-acquired mutex
|
||||
releasing mutex
|
||||
acquired mutex from goroutine
|
||||
released mutex from goroutine
|
||||
re-acquired mutex
|
||||
done
|
||||
|
||||
Reference in New Issue
Block a user