Threads start off in suspended status now (Korey's changes for SMT).
authorKevin Lim <ktlim@umich.edu>
Sun, 21 May 2006 05:55:58 +0000 (01:55 -0400)
committerKevin Lim <ktlim@umich.edu>
Sun, 21 May 2006 05:55:58 +0000 (01:55 -0400)
--HG--
extra : convert_revision : ad726f9f258e1983d2af5057ff6e5f9d2a5dd072

kern/tru64/tru64.hh

index 112f00f31be7d641caf9fac0914dec169507f6c7..b8adab8a8b028ffb29466ac8e2782034180f4370 100644 (file)
@@ -1020,7 +1020,7 @@ class Tru64 {
             for (int i = 0; i < process->numCpus(); ++i) {
                 ExecContext *xc = process->execContexts[i];
 
-                if (xc->status() == ExecContext::Unallocated) {
+                if (xc->status() == ExecContext::Suspended) {
                     // inactive context... grab it
                     init_exec_context(xc, attrp, uniq_val);