simplified previous fix
authorGengbin Zheng <gzheng@illinois.edu>
Mon, 24 Nov 2008 17:59:52 +0000 (17:59 +0000)
committerGengbin Zheng <gzheng@illinois.edu>
Mon, 24 Nov 2008 17:59:52 +0000 (17:59 +0000)
src/arch/util/machine-smp.c

index 4ad4e625c671468b49306a2c9ab2b57dd5ecaab3..b91e548357f4752e0127a82d20b6e795c2d9a7a3 100644 (file)
@@ -428,11 +428,7 @@ static void CmiStartThreads(char **argv)
   for (i=1; i<=tocreate; i++) {
     pthread_attr_init(&attr);
     pthread_attr_setscope(&attr, PTHREAD_SCOPE_SYSTEM);
-#if CMK_WITH_TAU
-    ok = tau_pthread_create(&pid, &attr, call_startfn, (void *)i);
-#else
     ok = pthread_create(&pid, &attr, call_startfn, (void *)i);
-#endif
     if (ok<0) PerrorExit("pthread_create"); 
     pthread_attr_destroy(&attr);
   }