eventq.cc (7059:4fb4eeb5f412) eventq.cc (7063:c0ea4df1ddab)
1/*
2 * Copyright (c) 2000-2005 The Regents of The University of Michigan
3 * Copyright (c) 2008 The Hewlett-Packard Development Company
4 * All rights reserved.
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions are
8 * met: redistributions of source code must retain the above copyright

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

403#ifdef EVENTQ_DEBUG
404 cprintf("Scheduled at %d\n", whenScheduled);
405#endif
406 cprintf("Scheduled for %d, priority %d\n", when(), _priority);
407 } else {
408 cprintf("Not Scheduled\n");
409 }
410}
1/*
2 * Copyright (c) 2000-2005 The Regents of The University of Michigan
3 * Copyright (c) 2008 The Hewlett-Packard Development Company
4 * All rights reserved.
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions are
8 * met: redistributions of source code must retain the above copyright

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

403#ifdef EVENTQ_DEBUG
404 cprintf("Scheduled at %d\n", whenScheduled);
405#endif
406 cprintf("Scheduled for %d, priority %d\n", when(), _priority);
407 } else {
408 cprintf("Not Scheduled\n");
409 }
410}
411
412EventQueue::EventQueue(const string &n)
413 : objName(n), head(NULL)
414{}