Download pseudo source code

1
2
3
4
5
6
7
8
procedure main:
  create_thread(greet)
  print "Hello from main thread"
end procedure

procedure greet:
  print "Hello from secondary thread"
end procedure