- removed Scheduler-initiated events
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@604 3ecf2c5c-341e-0410-92b4-d18e462d057c
This commit is contained in:
parent
8062dd95da
commit
da39407173
15 changed files with 21 additions and 55 deletions
|
@ -55,25 +55,6 @@ namespace sgpem
|
|||
class SG_DLLEXPORT Scheduler
|
||||
{
|
||||
public:
|
||||
/** The events that may cause the need for updating the scheduling queue
|
||||
and/or the running process.
|
||||
*/
|
||||
enum event
|
||||
{
|
||||
/**
|
||||
The arrival of a newly-created process.
|
||||
*/
|
||||
event_schedulable_arrival,
|
||||
/**
|
||||
The termination of the executing process.
|
||||
*/
|
||||
event_schedulable_termination,
|
||||
/**
|
||||
The end of the executing process' time quantum.
|
||||
*/
|
||||
event_end_time_slice
|
||||
};
|
||||
|
||||
/** \brief Returns the unique instance of this class, conforming to the Singleton pattern.
|
||||
*
|
||||
* If Scheduler isn't initialized, creates it. Should be called at least once before
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue