import sys import thread main() { thread.create(work) thread.create(work) thread.create(work) work() } work() { sys.write(1, "[ ] start\n", 10) sys.write(1, "[x] end\n", 8) sys.exit(0) }