Fixed to compile and run on origin2000 and origin-pthreads.
[charm.git] / src / conv-core / threads.c
index 3a159e435b9f84aaed336cb962ebc412d577c21e..3f38515a8c92498368a1b991707616f1cc3eb5a1 100644 (file)
@@ -506,8 +506,6 @@ CthCpvDeclare(char *,    CthData);
 CthCpvStatic(CthThread,  CthCurrent);
 CthCpvStatic(int,        CthExiting);
 CthCpvStatic(int,        CthDatasize);
-CpvStaticDeclare(CthThread, CthSchedThreadVar);
-CpvStaticDeclare(int, CthSchedResumeIndex);
 
 int CthImplemented()
 { return 1; }
@@ -620,7 +618,6 @@ CthThread t;
 
 static void CthOnly(void *arg, void *vt, qt_userf_t fn)
 {
-  CthThread t = (CthThread)vt; CthThread next;
   fn(arg);
   CthCpvAccess(CthExiting) = 1;
   CthSuspend();