github.com/tinygo-org/tinygo@v0.31.3-0.20240404173401-90b0bf646c27/testdata/goroutines.txt (about)

     1  init
     2  goroutine in init
     3  main 1
     4  sub 1
     5  main 2
     6  sub 2
     7  main 3
     8  wait:
     9    wait start
    10    wait end
    11  end waiting
    12  value produced after some time: 42
    13  non-blocking goroutine
    14  done with non-blocking goroutine
    15  async interface method call
    16  slept inside func pointer 8
    17  slept inside closure, with value: 20 8
    18  closure go call result: 1
    19  pre-acquired mutex
    20  releasing mutex
    21  acquired mutex from goroutine
    22  released mutex from goroutine
    23  re-acquired mutex
    24  done
    25  called: Foo.Nowait
    26  called: Foo.Wait
    27    ...waited
    28  done with 'go on interface'