diff lphobos/std/thread.d @ 473:373489eeaf90

Applied downs' lphobos update
author Tomas Lindquist Olsen <tomas.l.olsen@gmail.com>
date Mon, 04 Aug 2008 19:28:49 +0200
parents 5825d48b27d1
children
line wrap: on
line diff
--- a/lphobos/std/thread.d	Mon Aug 04 19:08:39 2008 +0200
+++ b/lphobos/std/thread.d	Mon Aug 04 19:28:49 2008 +0200
@@ -658,7 +658,7 @@
 	}
 
 	state = TS.RUNNING;
-	//printf("creating thread x%x\n", this);
+	printf("creating thread x%x\n", this);
 	//result = pthread_create(&id, null, &threadstart, this);
 	// Create with thread attributes to allow non-default stack size - Dave Fladebo
 	int result = pthread_create(&id, &threadAttrs, &threadstart, cast(void*)this);
@@ -668,7 +668,7 @@
 	    idx = -1;
 	    error("failed to start");	// BUG: should report errno
 	}
-	//printf("t = x%x, id = %d\n", this, id);
+	printf("t = x%x, id = %d\n", this, id);
     }
 
     int run()