Documentation of Sched_context

Adam Lackorzynski adam at os.inf.tu-dresden.de
Tue Jun 3 23:44:20 CEST 2014


Hi,

On Fri May 30, 2014 at 13:15:09 +0200, Valentin Hauner wrote:
> what exactly is represented by a Sched_context?
> 'sched_context-fixed_prio.cpp', for example, contains members called
> '_prio' and '_quantum'. That would suggest that a Sched_context is a
> schedulable object like a task or a thread.
> However, the file mentioned above defines some sort of ready queue, too.
> That would indicate that a Sched_context is some part of the scheduler
> that organizes the schedulable objects in a data structure?

A Sched_context is a class that is part of a Thread and stores
scheduling-related information, such as prio and quantum. The object
that is scheduled is the Thread which has a Sched_context embedded.

> Where are all those classes documentated? Using the search box, the
> official documentation (http://os.inf.tu-dresden.de/L4Re/doc/index.html)
> does not offer any information about these.

This is Fiasco-internal and not covered in the L4Re reference.



Adam
-- 
Adam                 adam at os.inf.tu-dresden.de
  Lackorzynski         http://os.inf.tu-dresden.de/~adam/



More information about the l4-hackers mailing list