1
2
3
4
5
6
7
8
9
10
11
12
13
14
mk_ctx(): enter
in trampoline()
bootstrap_ctx(): switch back to caller
mk_ctx(): leave
mk_ctx(): enter
in trampoline()
bootstrap_ctx(): switch back to caller
mk_ctx(): leave
bootstrap_ctx(): reentered from scheduler
hello thread!
bootstrap_ctx(): reentered from scheduler
hello thread 2!
thread left
Aborted