1/* 2 * Copyright (c) 2002-2005 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; --- 52 unchanged lines hidden (view full) --- 61 } 62 63 // otherwise do nothing... the IsExitEvent flag takes care of 64 // exiting the simulation loop and returning this object to Python 65 66 // but if you are doing this on intervals, don't forget to make another 67 if (repeat) { 68 assert(getFlags(IsMainQueue)); |
69 mainEventQueue.schedule(this, curTick() + repeat); |
70 } 71} 72 73 74const char * 75SimLoopExitEvent::description() const 76{ 77 return "simulation loop exit"; --- 48 unchanged lines hidden --- |