1/* 2 * Copyright (c) 2001-2006 The Regents of The University of Michigan 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions are 7 * met: redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer; --- 227 unchanged lines hidden (view full) --- 236 if (status() == ThreadContext::Suspended) 237 return; 238 239 lastActivate = curTick; 240 lastSuspend = curTick; 241/* 242#if FULL_SYSTEM 243 // Don't change the status from active if there are pending interrupts |
244 if (cpu->checkInterrupts()) { |
245 assert(status() == ThreadContext::Active); 246 return; 247 } 248#endif 249*/ 250 _status = ThreadContext::Suspended; 251 cpu->suspendContext(tid); 252} --- 37 unchanged lines hidden --- |