int thread_func () { stdout.puts ("Thread is running!\n"); return 0; } void main () { var t = new Thread.try ("My thread Debugging name...", thread_func); t.join (); }