in thread pup for memoryalias thread implementation, pup stack using nonmigratable...
authorGengbin Zheng <gzheng@illinois.edu>
Sun, 15 Jan 2006 08:47:16 +0000 (08:47 +0000)
committerGengbin Zheng <gzheng@illinois.edu>
Sun, 15 Jan 2006 08:47:16 +0000 (08:47 +0000)
src/conv-core/threads.c

index f9040772722183550db251e51841778a51f9f588..d13c1081a74601fc02e17e71f2728abceda23f6a 100644 (file)
@@ -1611,7 +1611,11 @@ CthThread CthPup(pup_er p, CthThread t)
   if (pup_isUnpacking(p)) {
          t=CthThreadInit();
   }
+#if CMK_THREADS_ALIAS_STACK
+  CthPupBase(p,&t->base,0);
+#else
   CthPupBase(p,&t->base,1);
+#endif
   
   /*Pup the stack pointer as bytes-- this works because stack is migratable*/
   pup_bytes(p,&t->stackp,sizeof(t->stackp));