Added a comment to address an uncertainty regarding the CMK_WITH_TAU block
authorChee Wai Lee <cheelee@illinois.edu>
Mon, 24 Nov 2008 21:50:39 +0000 (21:50 +0000)
committerChee Wai Lee <cheelee@illinois.edu>
Mon, 24 Nov 2008 21:50:39 +0000 (21:50 +0000)
in the code.

src/conv-core/threads.c

index 845166f800740b6c405f1dcce55ce07bf03659b2..a1b9bae718cf92ac11016a0751abf640d9425130 100644 (file)
@@ -1274,6 +1274,11 @@ CthThread CthCreate(CthVoidFn fn, void *arg, int size)
       }
   }
        
+  /* **CWL** Am assuming Gengbin left this unchanged because the macro
+     re-definition of pthread_create would not happen before this part of
+     the code. If the assumption is not true, then we can simply replace
+     this hash-if with the else portion.
+  */
 #if CMK_WITH_TAU
   r = tau_pthread_create(&(result->self), &attr, CthOnly, (void*) result);
 #else