testdata, sync: add sync.Mutex test to testdata/coroutines.go

This commit is contained in:
Jaden Weiss
2020-03-27 19:56:27 -04:00
committed by Ayke
parent c54e1cc955
commit b4815192a6
2 changed files with 33 additions and 1 deletions
+6
View File
@@ -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