Index: /branches/eam_branch_20080719/pswarp/src/pswarpThreadLauncher.c
===================================================================
--- /branches/eam_branch_20080719/pswarp/src/pswarpThreadLauncher.c	(revision 18812)
+++ /branches/eam_branch_20080719/pswarp/src/pswarpThreadLauncher.c	(revision 18813)
@@ -1,19 +1,3 @@
 # include "pswarp.h"
-// XXX add in a thread exit api (set a local 'exit' variable)
-
-bool pswarpThreadTest (psArray *args) {
-
-    pthread_t id = pthread_self();
-
-    // int dtime = 500000*drand48();
-
-    int dtime = (drand48() > 0.5) ? 500000 : 10000;
-    bool status = (drand48() > 0.9) ? false : true;
-
-    usleep (dtime);
-    fprintf (stderr, "in thread %lu, args %s and %s, dtime %d, status %d\n", id, (char *) args->data[0], (char *) args->data[1], dtime, status);
-
-    return status;
-}
 
 // each thread runs this function, starting a new job when it finished with an old one
@@ -42,15 +26,4 @@
 
 	// list all allowed job types here
-	if (!strcmp (job->type, "THREAD_TEST")) {
-	    bool status = pswarpThreadTest (job->args);
-	    if (!status) {
-		self->fault = true;
-	    }
-	    // we do not have to lock here because this transition is not tied to the job queue
-	    self->busy = false;  
-	    continue;
-	}
-
-	// list all allowed job types here
 	if (!strcmp (job->type, "PSWARP_TRANSFORM_TILE")) {
 	    pswarpTransformTileArgs *args = job->args->data[0];
