-changing SchedulableList to SchedulableQueue: intermediate commit,
so SVN can let me use "mv" git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@602 3ecf2c5c-341e-0410-92b4-d18e462d057c
This commit is contained in:
parent
16acaf51d9
commit
4508ed017b
16 changed files with 70 additions and 70 deletions
|
@ -145,7 +145,7 @@ namespace sgpem {
|
|||
|
||||
|
||||
// --------------------------------------------
|
||||
class SchedulableList
|
||||
class SchedulableQueue
|
||||
{
|
||||
public:
|
||||
unsigned int size() const;
|
||||
|
@ -154,10 +154,10 @@ namespace sgpem {
|
|||
|
||||
private:
|
||||
// Avoid instantiation and copy
|
||||
SchedulableList();
|
||||
SchedulableList(const SchedulableList&);
|
||||
SchedulableList& operator=(const SchedulableList&);
|
||||
~SchedulableList();
|
||||
SchedulableQueue();
|
||||
SchedulableQueue(const SchedulableQueue&);
|
||||
SchedulableQueue& operator=(const SchedulableQueue&);
|
||||
~SchedulableQueue();
|
||||
}; //~ class Schedulable
|
||||
|
||||
// ---------------------------------------------
|
||||
|
@ -186,7 +186,7 @@ namespace sgpem {
|
|||
public:
|
||||
sgpem::Policy& get_policy();
|
||||
static sgpem::Scheduler& get_instance();
|
||||
sgpem::SchedulableList* get_ready_queue();
|
||||
sgpem::SchedulableQueue* get_ready_queue();
|
||||
private:
|
||||
Scheduler();
|
||||
~Scheduler();
|
||||
|
|
|
@ -104,7 +104,7 @@ main(int argc, char** argv) {
|
|||
|
||||
try
|
||||
{
|
||||
SchedulableList sl;
|
||||
SchedulableQueue sl;
|
||||
polman.test_init("python_loader_sort_queue");
|
||||
polman.get_policy().sort_queue(Scheduler::event_schedulable_arrival);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue