Index: src/examples/thread.c
===================================================================
--- src/examples/thread.c	(revision 60819df72083395cf02cd880099d1be4c771a250)
+++ src/examples/thread.c	(revision 0a86a3094427d9c3e2c86bb1a3758bf2d3bf3728)
@@ -1,3 +1,2 @@
-#line 1 "thread.c"
 #include <fstream>
 #include <kernel>
@@ -7,5 +6,5 @@
 // Start coroutine routines
 struct MyThread {
-	thread_h t;
+	thread t;
 	unsigned id;
 	unsigned count;
@@ -46,6 +45,6 @@
 		processor p;
 		{
-			thread(MyThread) thread1 = { 1u, itterations };
-			thread(MyThread) thread2 = { 2u, itterations };
+			scoped(MyThread) thread1 = { 1u, itterations };
+			scoped(MyThread) thread2 = { 2u, itterations };
 		}
 	}
