Download pseudo source code

procedure main:
  create_thread(greet)
  print "Hello from main thread"
end procedure

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