Re: Documentation of Sched_context

Adam Lackorzynski <[email protected]>
Newsgroups gmane.comp.micro-kernel.l4.devel
Message-ID <[email protected]>
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                 [email protected]
  Lackorzynski         http://os.inf.tu-dresden.de/~adam/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.