Deleted Added
sdiff udiff text old ( 6712:b95abe00dd9d ) new ( 6982:16963bc29912 )
full compact
1/*
2 * Copyright (c) 2000-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;

--- 452 unchanged lines hidden (view full) ---

461 EventWrapper(T *obj, bool del = false, Priority p = Default_Pri)
462 : Event(p), object(obj)
463 {
464 if (del)
465 setFlags(AutoDelete);
466 }
467
468 void process() { (object->*F)(); }
469};
470
471inline void
472EventQueue::schedule(Event *event, Tick when)
473{
474 assert((UTick)when >= (UTick)curTick);
475 assert(!event->scheduled());
476#ifdef EVENTQ_DEBUG

--- 101 unchanged lines hidden ---