scheduling

Leigh Stoller stoller at fast.cs.utah.edu
Tue Jun 6 16:00:19 EDT 2000


Another little nit:

void
Timer::element_hook(unsigned long thunk)
{
  Element *e = (Element *)thunk;
  /* put itself on the work list */
  e->schedule_immediately();	// might not have tickets
}

schedule_immediately() is defined under !RR_SCHED, so its def is missing
with RR is defined. Seems like the code is common though, and can be moved 
up before the RR_SCHED conditional in lib/elemlink.hh?

Lbs

---------------------------------------------------------------------------
Leigh B. Stoller                     Computer Science - Flux Research Group
stoller at cs.utah.edu                  University of Utah
http://www.cs.utah.edu/~stoller      Salt Lake City, Utah 84112
Voice: (813) 899-9296                FAX: (801) 585-3743
---------------------------------------------------------------------------



More information about the click mailing list