From 8882dc1283771463a20194c083f4b8940a2d574b Mon Sep 17 00:00:00 2001 From: Steve Reinhardt Date: Wed, 15 Apr 2009 13:13:47 -0700 Subject: Get rid of the Unallocated thread context state. Basically merge it in with Halted. Also had to get rid of a few other functions that called ThreadContext::deallocate(), including: - InOrderCPU's setThreadRescheduleCondition. - ThreadContext::exit(). This function was there to avoid terminating simulation when one thread out of a multi-thread workload exits, but we need to find a better (non-cpu-centric) way. --- src/kern/tru64/tru64.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/kern') diff --git a/src/kern/tru64/tru64.hh b/src/kern/tru64/tru64.hh index b1af4ec0e..2234f55fe 100644 --- a/src/kern/tru64/tru64.hh +++ b/src/kern/tru64/tru64.hh @@ -1074,7 +1074,7 @@ class Tru64 : public OperatingSystem ThreadContext *tc) { assert(tc->status() == ThreadContext::Active); - tc->deallocate(); + tc->halt(); return 0; } -- cgit v1.2.3